ImageSaveOptions Class

ImageSaveOptions class

Specific options data class.

public class ImageSaveOptions : ImageRenderingOptions

Constructors

NameDescription
ImageSaveOptions()Initializes a new instance of the ImageSaveOptions class; Png will be used as default image format.
ImageSaveOptions(ImageFormat)Image format ImageFormat based on initialization

Properties

NameDescription
BackgroundColor { get; set; }Gets or sets Color which will fill background of every page. Default value is Transparent.
Compression { get; set; }Sets or gets Tagged Image File Format (TIFF) Compression. By default this property is LZW.
Css { get; }Gets a CssOptions object which is used for configuration of css properties processing.
Format { get; set; }Sets or gets ImageFormat. By default this property is Png.
override HorizontalResolution { get; set; }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.
PageSetup { get; }Gets a page setup object is used for configuration output page-set.
SmoothingMode { get; set; }Gets or sets the rendering quality for this Graphics.
Text { get; }Gets a TextOptions object which is used for configuration of text rendering.
override VerticalResolution { get; set; }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.

See Also