PngSaveOptions

Inheritance: java.lang.Object, com.groupdocs.signature.options.saveoptions.SaveOptions, com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions

public class PngSaveOptions extends ImageSaveOptions

Png Save options for Image Documents.

Constructors

Constructor Description
PngSaveOptions() Creates PngSaveOptions with default values.

Methods

Method Description
getBitDepth() The bit depth.
setBitDepth(byte value) The bit depth.
getColorType() Gets or sets the type of the PngColorType .
setColorType(int value) Gets or sets the type of the PngColorType .
getCompressionLevel() The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
setCompressionLevel(int value) The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
getFilterType() Gets or sets the filter type PngFilterType used during png file save process.
setFilterType(int value) Gets or sets the filter type PngFilterType used during png file save process.
getProgressive() Gets or sets a value indicating whether this PngSaveOptions is progressive.
setProgressive(boolean value) Gets or sets a value indicating whether this PngSaveOptions is progressive.

PngSaveOptions()

public PngSaveOptions()

Creates PngSaveOptions with default values.

getBitDepth()

public byte getBitDepth()

The bit depth.

Returns: byte

setBitDepth(byte value)

public void setBitDepth(byte value)

The bit depth.

Parameters:

Parameter Type Description
value byte

getColorType()

public int getColorType()

Gets or sets the type of the PngColorType .

Returns: int

setColorType(int value)

public void setColorType(int value)

Gets or sets the type of the PngColorType .

Parameters:

Parameter Type Description
value int

getCompressionLevel()

public int getCompressionLevel()

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

Returns: int

setCompressionLevel(int value)

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:

Parameter Type Description
value int

getFilterType()

public int getFilterType()

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

Returns: int

setFilterType(int value)

public void setFilterType(int value)

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

Parameters:

Parameter Type Description
value int

getProgressive()

public boolean getProgressive()

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

Returns: boolean

setProgressive(boolean value)

public void setProgressive(boolean value)

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

Parameters:

Parameter Type Description
value boolean