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 the horizontal resolution for output and internal images, in pixels per inch (dpi). By default, this property is set to 300 dpi, which is used unless overridden by specific conditions. The resolution is always applied unless the Page size is set in pixels (px), in which case the default resolution is 96 dpi. |
background_color | Gets or sets Color which will fill background of every page. Default value is Transparent. |
vertical_resolution | Sets or gets the vertical resolution for output and internal images, in pixels per inch (dpi). By default, this property is set to 300 dpi, which is used unless overridden by specific conditions. The resolution is always applied unless the Page size is set in pixels (px), in which case the default resolution is 96 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. |
smoothing_mode | Gets or sets the rendering quality for this Graphics. |
See Also
- module
aspose.svg.rendering.image
- class
Compression
- class
CssOptions
- class
ImageDevice
- class
ImageFormat
- class
ImageRenderingOptions
- class
RenderingOptions
- class
TextOptions