ImageRenderingOptions Class
Contents
[
Hide
]ImageRenderingOptions class
Represents rendering options for ImageDevice
. This options is used to specify output image format, compression, resolution etc.
public class ImageRenderingOptions : RenderingOptions
Constructors
Name | Description |
---|---|
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
Name | Description |
---|---|
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
- class RenderingOptions
- namespace Aspose.Svg.Rendering.Image
- assembly Aspose.SVG