com.aspose.html.rendering.image

Class ImageRenderingOptions

  • All Implemented Interfaces:
    Cloneable


    public class ImageRenderingOptions
    extends RenderingOptions

    Represents rendering options for ImageDevice.

    • Constructor Detail

      • ImageRenderingOptions

        public ImageRenderingOptions()

        Initializes a new instance of the ImageRenderingOptions class.

    • Method Detail

      • getHorizontalResolution

        public Resolution getHorizontalResolution()

        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:
        getHorizontalResolution in class RenderingOptions
      • setHorizontalResolution

        public void setHorizontalResolution(Resolution value)

        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:
        setHorizontalResolution in class RenderingOptions
      • getVerticalResolution

        public Resolution getVerticalResolution()

        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:
        getVerticalResolution in class RenderingOptions
      • setVerticalResolution

        public void setVerticalResolution(Resolution value)

        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:
        setVerticalResolution in class RenderingOptions
      • getFormat

        public int getFormat()

        Sets or gets ImageFormat. By default this property is Png.

      • setFormat

        public void setFormat(int value)

        Sets or gets ImageFormat. By default this property is Png.

      • getCompression

        public int getCompression()

        Sets or gets Tagged Image File Format (TIFF) Comression. By default this property is LZW.

      • setCompression

        public void setCompression(int value)

        Sets or gets Tagged Image File Format (TIFF) Comression. By default this property is LZW.