public final class TiffSettings extends Object
This class represents settings for importing pdf to Tiff.
| Constructor and Description |
|---|
TiffSettings()
Initializes a new instance of the
TiffSettings class. |
TiffSettings(boolean skipBlankPages)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(int compressionType)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(int compressionType,
int colorDepth,
Margins margins)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(int compressionType,
int colorDepth,
Margins margins,
boolean skipBlankPages)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(int compressionType,
int colorDepth,
Margins margins,
boolean skipBlankPages,
int shapeType)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(Margins margins)
Initializes a new instance of the
TiffSettings class. |
| Modifier and Type | Method and Description |
|---|---|
float |
getBrightness()
Get value boundary of the transformation of colors in white and black.
|
int |
getCompression()
Gets the type of the compression.
|
int |
getCoordinateType()
Gets the page coordinate type (Media/Crop boxes).
|
int |
getDepth()
Gets the color depth.
|
Margins |
getMargins()
Gets the margins.
|
int |
getShape()
Gets the type of the shape.
|
boolean |
getSkipBlankPages()
Gets a value indicating whether to skip blank pages.
|
void |
setBrightness(float value)
Set value boundary of the transformation of colors in white and black.
|
void |
setCompression(int value)
Sets the type of the compression.
|
void |
setCoordinateType(int value)
Sets the page coordinate type (Media/Crop boxes).
|
void |
setDepth(int value)
Gets the color depth.
|
void |
setShape(int value)
Sets the type of the shape.
|
void |
setSkipBlankPages(boolean value)
Sets a value indicating whether to skip blank pages.
|
public TiffSettings()
Initializes a new instance of the TiffSettings class.
public TiffSettings(int compressionType)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.CompressionTypepublic TiffSettings(Margins margins)
Initializes a new instance of the TiffSettings class.
margins - The margins.public TiffSettings(int compressionType,
int colorDepth,
Margins margins)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.CompressionTypepublic TiffSettings(int compressionType,
int colorDepth,
Margins margins,
boolean skipBlankPages)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.skipBlankPages - if set to true need to skip blank pagesCompressionType,
ColorDepthpublic TiffSettings(int compressionType,
int colorDepth,
Margins margins,
boolean skipBlankPages,
int shapeType)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.skipBlankPages - if set to true need to skip blank pages.shapeType - Type of the shape.CompressionTypepublic TiffSettings(boolean skipBlankPages)
Initializes a new instance of the TiffSettings class.
skipBlankPages - if set to true [skip blank pages].public Margins getMargins()
Gets the margins.
public boolean getSkipBlankPages()
Gets a value indicating whether to skip blank pages.
Value:true if need to skip blank pages; otherwise, false.
public void setSkipBlankPages(boolean value)
Sets a value indicating whether to skip blank pages.
Value:true if need to skip blank pages; otherwise, false.
value - boolean valuepublic int getCompression()
Gets the type of the compression.
Value: The type of the compression.
CompressionTypepublic void setCompression(int value)
Sets the type of the compression.
Value: The type of the compression.
value - CompressionType elementCompressionTypepublic int getDepth()
Gets the color depth.
Value: The color depth.
ColorDepthpublic void setDepth(int value)
Gets the color depth.
Value: The color depth.
value - ColorDepth elementColorDepthpublic int getShape()
Gets the type of the shape.
Value: The type of the shape.
ShapeTypepublic void setShape(int value)
Sets the type of the shape.
Value: The type of the shape.
value - ShapeType elementShapeTypepublic float getBrightness()
Get value boundary of the transformation of colors in white and black. This parameter can be applied with EncoderValue.CompressionCCITT4, EncoderValue.CompressionCCITT3, EncoderValue.CompressionRle or ColorDepth.Format1bpp == 1
public void setBrightness(float value)
Set value boundary of the transformation of colors in white and black. This parameter can be applied with EncoderValue.CompressionCCITT4, EncoderValue.CompressionCCITT3, EncoderValue.CompressionRle or ColorDepth.Format1bpp == 1
value - : Value of brightness should be in the range from 0 to 1. By default value is equal to 0.33fpublic int getCoordinateType()
Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
PageCoordinateTypepublic void setCoordinateType(int value)
Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
value - PageCoordinateTypePageCoordinateTypeCopyright © 2016 Aspose. All Rights Reserved.