Class ImageRenderingOptions
Namespace: Aspose.Html.Rendering.Image
Assembly: Aspose.HTML.dll (25.2.0)
Represents rendering options for Aspose.Html.Rendering.Image.ImageDevice. This options is used to specify output image format, compression, resolution etc.
[ComVisible(true)]
public class ImageRenderingOptions : RenderingOptions
Inheritance
object ← RenderingOptions ← ImageRenderingOptions
Derived
Inherited Members
RenderingOptions.Css, RenderingOptions.PageSetup, RenderingOptions.HorizontalResolution, RenderingOptions.BackgroundColor, RenderingOptions.VerticalResolution, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ImageRenderingOptions()
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageRenderingOptions class; Aspose.Html.Rendering.Image.ImageFormat.Png will be used as default image format.
public ImageRenderingOptions()
ImageRenderingOptions(ImageFormat)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageRenderingOptions class with specified image format.
public ImageRenderingOptions(ImageFormat format)
Parameters
format
ImageFormat
The output image format.
Properties
Compression
Sets or gets Tagged Image File Format (TIFF) Aspose.Html.Rendering.Image.Compression. By default this property is Aspose.Html.Rendering.Image.Compression.LZW.
public Compression Compression { get; set; }
Property Value
Format
Sets or gets Aspose.Html.Rendering.Image.ImageFormat. By default this property is Aspose.Html.Rendering.Image.ImageFormat.Png.
public ImageFormat Format { get; set; }
Property Value
HorizontalResolution
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.
public override Resolution HorizontalResolution { get; set; }
Property Value
Text
Gets a Aspose.Html.Rendering.Image.TextOptions object which is used for configuration of text rendering.
public TextOptions Text { get; }
Property Value
UseAntialiasing
Specifies whether to use antialiasing. By default, antialiasing is enabled.
public bool UseAntialiasing { get; set; }
Property Value
VerticalResolution
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.
public override Resolution VerticalResolution { get; set; }