com.aspose.cad.jasperreports.png

Class ASPngExportConfigurationImpl

    • Constructor Detail

      • ASPngExportConfigurationImpl

        public ASPngExportConfigurationImpl()
    • Method Detail

      • setFilterType

        public void setFilterType(PngFilterType value)

        Gets or sets the filter type used during png file save process.

        Parameters:
        value - the filter type used during png file save process.
        See Also:
        PngFilterType
      • getCompressionLevel

        public int getCompressionLevel()

        The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.

        Specified by:
        getCompressionLevel in interface ASPngExportConfiguration
        Returns:
        the compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
      • setCompressionLevel

        public void setCompressionLevel(int value)

        The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.

        Parameters:
        value - the compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
      • setColorType

        public void setColorType(PngColorType value)

        Gets or sets the type of the color.

        Parameters:
        value - The type of the color.
        See Also:
        PngColorType
      • getProgressive

        public boolean getProgressive()

        Gets or sets a value indicating whether this Png is progressive.

        Specified by:
        getProgressive in interface ASPngExportConfiguration
        Returns:
        true if progressive; otherwise, false.
      • setProgressive

        public void setProgressive(boolean value)

        Gets or sets a value indicating whether this Png is progressive.

        Parameters:
        value - true if progressive; otherwise, false.
      • setBitDepth

        public void setBitDepth(byte value)

        Sets the bit depth.

        Parameters:
        value - The bit depth.