ImageRenderingOptions Class

ImageRenderingOptions class

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

public class ImageRenderingOptions : RenderingOptions

Constructors

NameDescription
ImageRenderingOptions()Initializes a new instance of the ImageRenderingOptions class; Png will be used as default image format.
ImageRenderingOptions(ImageFormat)Initializes a new instance of the ImageRenderingOptions class with specified image format.

Properties

NameDescription
[getBackgroundColor]
[setBackgroundColor] Gets or sets Color which will fill background of every page. Default value is Transparent.
[getCompression]
[setCompression] Sets or gets Tagged Image File Format (TIFF) Compression. By default this property is LZW.
getCss Gets a CssOptions object which is used for configuration of css properties processing.
[getFormat]
[setFormat] Sets or gets ImageFormat. By default this property is Png.
[getHorizontalResolution]
[setHorizontalResolution] 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.
getPageSetup Gets a page setup object is used for configuration output page-set.
[getSmoothingMode]
[setSmoothingMode] Gets or sets the rendering quality for this Graphics.
getText Gets a TextOptions object which is used for configuration of text rendering.
[getVerticalResolution]
[setVerticalResolution] 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.

See Also