ImageRenderingOptions class

ImageRenderingOptions class

Represents rendering options for ImageDevice. This options is used to specify output image format, compression, resolution etc.

Inheritance: ImageRenderingOptionsRenderingOptions

The ImageRenderingOptions type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the ImageRenderingOptions class; ImageFormat.PNG will be used as default image format.
initInitializes a new instance of the ImageRenderingOptions class with specified image format.

Properties

PropertyDescription
cssGets a CssOptions object which is used for configuration of css properties processing.
page_setupGets a page setup object is used for configuration output page-set.
horizontal_resolutionSets 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_colorGets or sets Color which will fill background of every page. Default value is Transparent.
vertical_resolutionSets 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.
formatSets or gets ImageFormat. By default this property is ImageFormat.PNG.
compressionSets or gets Tagged Image File Format (TIFF) Compression. By default this property is Compression.LZW.
textGets a TextOptions object which is used for configuration of text rendering.
smoothing_modeGets or sets the rendering quality for this Graphics.

See Also