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()
Get or sets 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) |
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.public 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.public 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 pages.public 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.public 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
.public int getCompression()
Gets the type of the compression.
Value: The type of the compression.public void setCompression(int value)
Sets the type of the compression.
Value: The type of the compression.public int getDepth()
Gets the color depth.
Value: The color depth.public void setDepth(int value)
Gets the color depth.
Value: The color depth.public int getShape()
Gets the type of the shape.
Value: The type of the shape.public void setShape(int value)
Sets the type of the shape.
Value: The type of the shape.public 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
Value: Value of brightness should be in the range from 0 to 1. By default value is equal to 0.33fpublic 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()
Get or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
public void setCoordinateType(int value)
Copyright © 2019 Aspose. All Rights Reserved.