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 horizontal resolution for output and internal (which are used during filters processing) images, in pixels per inch. By default this property is 300 dpi. |
| PageSetup { get; } | Gets a page setup object is used for configuration output page-set. |
| Text { get; } | Gets a TextOptions object which is used for configuration of text rendering. |
| UseAntialiasing { get; set; } | Specifies whether to use antialiasing. By default, antialiasing is enabled. |
| override VerticalResolution { get; set; } | 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
- class RenderingOptions
- namespace Aspose.Html.Rendering.Image
- assembly Aspose.HTML