TiffSettings

遗产: java.lang.Object

public final class TiffSettings

此类表示将 pdf 导入 Tiff 的设置。

构造函数

构造函数描述
TiffSettings()初始化 TiffSettings 类的新实例。
TiffSettings(int compressionType)初始化 TiffSettings 类的新实例。
TiffSettings(Margins margins)初始化 TiffSettings 类的新实例。
TiffSettings(int compressionType, int colorDepth, Margins margins)初始化 TiffSettings 类的新实例。
TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages)初始化 TiffSettings 类的新实例。
TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages, int shapeType)初始化 TiffSettings 类的新实例。
TiffSettings(boolean skipBlankPages)初始化 TiffSettings 类的新实例。

方法

方法描述
equals(Object arg0)
getBrightness()获取白色和黑色颜色转换的值边界。
getClass()
getCompression()获取压缩类型。
getCoordinateType()获取页面坐标类型(媒体/裁剪框)。
getDepth()获取颜色深度。
getIndexedConversionType()获取 IndexedConversionType。
getMargins()获取边距。
getShape()获取形状的类型。
getSkipBlankPages()获取一个值,该值指示是否跳过空白页。
hashCode()
isUseAlternativeImageEngine()获取一个标志,确定是否使用替代成像引擎。
notify()
notifyAll()
setBrightness(float value)设置白色和黑色转换颜色的值边界。
setCompression(int value)设置压缩类型。
setCoordinateType(int value)设置页面坐标类型(媒体/裁剪框)。
setDepth(int value)获取颜色深度。
setIndexedConversionType(int value)设置 IndexedConversionType。
setShape(int value)设置形状的类型。
setSkipBlankPages(boolean value)设置一个值,指示是否跳过空白页。
setUseAlternativeImageEngine(boolean useAlternativeImageEngine)设置一个标志以确定是否使用替代成像引擎。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TiffSettings()

public TiffSettings()

初始化 TiffSettings 类的新实例。

TiffSettings(int compressionType)

public TiffSettings(int compressionType)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
compressionTypeint压缩类型。

TiffSettings(Margins margins)

public TiffSettings(Margins margins)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
marginsMargins边距。

TiffSettings(int compressionType, int colorDepth, Margins margins)

public TiffSettings(int compressionType, int colorDepth, Margins margins)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
compressionTypeint压缩类型。
colorDepthint颜色深度。
marginsMargins边距。

TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages)

public TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
compressionTypeint压缩类型。
colorDepthint颜色深度。
marginsMargins边距。
skipBlankPagesboolean如果设置为 true 需要跳过空白页

TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages, int shapeType)

public TiffSettings(int compressionType, int colorDepth, Margins margins, boolean skipBlankPages, int shapeType)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
compressionTypeint压缩类型。
colorDepthint颜色深度。
marginsMargins边距。
skipBlankPagesboolean如果设置为 true 需要跳过空白页。
shapeTypeint形状的类型。

TiffSettings(boolean skipBlankPages)

public TiffSettings(boolean skipBlankPages)

初始化 TiffSettings 类的新实例。

参数:

范围类型描述
skipBlankPagesboolean如果设置为真[跳过空白页]。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getBrightness()

public float getBrightness()

获取白色和黑色颜色转换的值边界。此参数可与 EncoderValue.CompressionCCITT4、EncoderValue.CompressionCCITT3、EncoderValue.CompressionRle 或 ColorDepth.Format1bpp == 1 一起应用

退货: float - 亮度的浮点值应在 0 到 1 的范围内。默认值等于 0.33f

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getCompression()

public int getCompression()

获取压缩类型。

值:压缩的类型。


默认值为 CompressionType.LZW

退货: int - CompressionType 元素

getCoordinateType()

public int getCoordinateType()

获取页面坐标类型(媒体/裁剪框)。默认使用 CropBox 值。

退货: int - PageCoordinateType 值

getDepth()

public int getDepth()

获取颜色深度。

值:颜色深度。


默认值为 ColorDepth.Default

退货: int - ColorDepth 元素

getIndexedConversionType()

public int getIndexedConversionType()

获取 IndexedConversionType。默认值为简单。

退货: int - IndexedConversionType 元素

getMargins()

public Margins getMargins()

获取边距。

退货: Margins 边距对象

getShape()

public int getShape()

获取形状的类型。

值:形状的类型。


默认值为 ShapeType.None

退货: int - ShapeType 元素

getSkipBlankPages()

public boolean getSkipBlankPages()

获取一个值,该值指示是否跳过空白页。

值:如果需要跳过空白页则为真;否则,假的。


默认值为假

退货: boolean - 布尔值

hashCode()

public native int hashCode()

退货: 整数

isUseAlternativeImageEngine()

public boolean isUseAlternativeImageEngine()

获取一个标志,确定是否使用替代成像引擎。 Linux 操作系统默认使用真值。对于 Windows 操作系统,默认值为 false。

退货: boolean - 布尔值

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBrightness(float value)

public void setBrightness(float value)

设置白色和黑色转换颜色的值边界。此参数可与 EncoderValue.CompressionCCITT4、EncoderValue.CompressionCCITT3、EncoderValue.CompressionRle 或 ColorDepth.Format1bpp == 1 一起应用

参数:

范围类型描述
valuefloat:亮度值应在 0 到 1 的范围内。默认值等于 0.33f

setCompression(int value)

public void setCompression(int value)

设置压缩类型。

值:压缩的类型。


默认值为 CompressionType.LZW

参数:

范围类型描述
valueintCompressionType 元素

setCoordinateType(int value)

public void setCoordinateType(int value)

设置页面坐标类型(媒体/裁剪框)。默认使用 CropBox 值。

参数:

范围类型描述
valueint页面坐标类型

setDepth(int value)

public void setDepth(int value)

获取颜色深度。

值:颜色深度。


默认值为 ColorDepth.Default

参数:

范围类型描述
valueintColorDepth 元素

setIndexedConversionType(int value)

public void setIndexedConversionType(int value)

设置 IndexedConversionType。

参数:

范围类型描述
valueintIndexedConversionType 元素

setShape(int value)

public void setShape(int value)

设置形状的类型。

值:形状的类型。


默认值为 ShapeType.None

参数:

范围类型描述
valueintShapeType 元素

setSkipBlankPages(boolean value)

public void setSkipBlankPages(boolean value)

设置一个值,指示是否跳过空白页。

值:如果需要跳过空白页则为真;否则,假的。


默认值为假

参数:

范围类型描述
valueboolean布尔值

setUseAlternativeImageEngine(boolean useAlternativeImageEngine)

public void setUseAlternativeImageEngine(boolean useAlternativeImageEngine)

设置一个标志以确定是否使用替代成像引擎。

参数:

范围类型描述
useAlternativeImageEngineboolean布尔值

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int