com.aspose.html.rendering.image

Class ImageRenderingOptions

    • Constructor Detail

      • ImageRenderingOptions

        public ImageRenderingOptions()
    • Method Detail

      • getHorizontalResolution

        public float getHorizontalResolution()

        Gets horizontal resolution, in pixels per inch. By default this property is 96 dpi.

      • setHorizontalResolution

        public void setHorizontalResolution(float value)

        Sets horizontal resolution, in pixels per inch. By default this property is 96 dpi.

      • getVerticalResolution

        public float getVerticalResolution()

        Gets vertical resolution, in pixels per inch. By default this property is 96 dpi.

      • setVerticalResolution

        public void setVerticalResolution(float value)

        Sets vertical resolution, in pixels per inch. By default this property is 96 dpi.

      • getFormat

        public int getFormat()

        Gets ImageFormat. By default this property is Png.

      • setFormat

        public void setFormat(int value)

        Sets ImageFormat. By default this property is Png.

      • getCompression

        public int getCompression()

        Gets Tagged Image File Format (TIFF) Comression. By default this property is LZW.

      • setCompression

        public void setCompression(int value)

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