ImageRenderingOptions Class
Represents rendering options for ImageDevice. This options is used to specify output image format, compression, resolution etc.
Inheritance Hierarchy
SystemObject
  Aspose.Html.RenderingRenderingOptions
    Aspose.Html.Rendering.ImageImageRenderingOptions
      Aspose.Html.SavingImageSaveOptions

Namespace: Aspose.Html.Rendering.Image
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.11
Syntax
public class ImageRenderingOptions : RenderingOptions

The ImageRenderingOptions type exposes the following members.

Constructors
  NameDescription
Public methodImageRenderingOptions
Initializes a new instance of the ImageRenderingOptions class; Png will be used as default image format.
Public methodImageRenderingOptions(ImageFormat)
Initializes a new instance of the ImageRenderingOptions class with specified image format.
Properties
  NameDescription
Public propertyBackgroundColor
Gets or sets Color which will fill background of every page. Default value is Transparent.
(Inherited from RenderingOptions.)
Public propertyCompression
Sets or gets Tagged Image File Format (TIFF) Compression. By default this property is LZW.
Public propertyCss
Gets a CssOptions object which is used for configuration of css properties processing.
(Inherited from RenderingOptions.)
Public propertyFormat
Sets or gets ImageFormat. By default this property is Png.
Public propertyHorizontalResolution
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.
(Overrides RenderingOptionsHorizontalResolution.)
Public propertyPageSetup
Gets a page setup object is used for configuration output page-set.
(Inherited from RenderingOptions.)
Public propertySmoothingMode
Gets or sets the rendering quality for this Graphics.
Public propertyText
Gets a TextOptions object which is used for configuration of text rendering.
Public propertyVerticalResolution
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.
(Overrides RenderingOptionsVerticalResolution.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also