ImageRenderingOptions class
ImageRenderingOptions class
Represents rendering options for ImageDevice. This options is used to specify output image format, compression, resolution etc.
Inheritance: ImageRenderingOptions →
RenderingOptions
The ImageRenderingOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the ImageRenderingOptions class; ImageFormat.PNG will be used as default image format. |
| init | Initializes a new instance of the ImageRenderingOptions class with specified image format. |
Properties
| Property | Description |
|---|---|
| css | Gets a CssOptions object which is used for configuration of css properties processing. |
| page_setup | Gets a page setup object is used for configuration output page-set. |
| horizontal_resolution | Sets or gets horizontal resolution for output and internal (which are used during filters processing) images, in pixels per inch. By default this property is 300 dpi. |
| background_color | Gets or sets Color which will fill background of every page. Default value is Transparent. |
| vertical_resolution | Sets or gets vertical resolution for output and internal (which are used during filters processing) images, in pixels per inch. By default this property is 300 dpi. |
| format | Sets or gets ImageFormat. By default this property is ImageFormat.PNG. |
| compression | Sets or gets Tagged Image File Format (TIFF) Compression. By default this property is Compression.LZW. |
| text | Gets a TextOptions object which is used for configuration of text rendering. |
| use_antialiasing | Specifies whether to use antialiasing. By default, antialiasing is enabled. |
See Also
- module
aspose.html.rendering.image - class
Compression - class
CssOptions - class
ImageDevice - class
ImageFormat - class
ImageRenderingOptions - class
RenderingOptions - class
TextOptions