FlattenTransparencyParams Class Documentation
classFlattenTransparencyParamsNamespace:com::datalogics::PDFL
Detailed Description
Represents control parameters for flattening transparencies within a PDF file. Class that represents control parameters for flattening transparencies within a PDF file. PDF files can hold objects that are stacked, and that are partially or fully transparent. This means that these objects can blend in various ways with objects behind them. With a stacked set of transparent graphics or images in a PDF file, each one contributing to the final result that appears on the page. One or more graphics images presented together in a stack is referred to as a transparency group. With a stack of transparent images, the final colors shown are the result of blending the colors of all of the overlapping objects. Flatten Transparency merges a stack of transparent objects or graphics into a single image on the PDF page.
Flattening images in a PDF file is generally necessary before you can send the document to a printer. The flattening process simplifies the PDF file and may make it smaller as well.
Referenced by
Constructor & Destructor Documentation
FlattenTransparencyParams
FlattenTransparencyParams()Set up default parameters for flattening transparency.
FlattenTransparencyParams
FlattenTransparencyParams(booleanUseTextOutlines, booleanConvertStrokesToOutlines, booleanClipComplexRegions, intInternalDPI, intExternalDPI, booleanPreserveOverprint, intQuality)Parameters
UseTextOutlines: booleanIf true, output text outlines instead of native text.
ConvertStrokesToOutlines: booleanIf true, convert strokes to outlines.
ClipComplexRegions: booleanIf true, ensure that boundaries between vector and rasterized artwork fall along object paths.
InternalDPI: intResolution for flattening the interior of an atomic region. Range is 1 to 9600.
ExternalDPI: intResolution for flattening edges of atomic regions. Range is 1 to 1200.
PreserveOverprint: booleanIf true, attempt to preserve overprint.
Quality: intThe percentage of vector information that is to be preserved. Lower values will cause higher rasterization of vectors. Range is 0 to 100.
Set up parameters for flattening transparency.
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetClipComplexRegions
booleangetClipComplexRegions()Returns:
booleanIf true, ensure that boundaries between vector and rasterized artwork fall along object paths.
getColorCompressionScheme
FlattenerColorCompressiongetColorCompressionScheme()Returns:
FlattenerColorCompressionThe compression scheme used for flattened color images. Default to JPEGCompression.
getColorImageQuality
FlattenerQualitySettinggetColorImageQuality()Returns:
FlattenerQualitySettingQuality Setting for Flattened JPEG and JPEG2000 colored Images. This is valid only if the value of ColorCompressionScheme is equal to JPEGCompression or JPEG2000Compression Default value: High
getConvertStrokesToOutlines
booleangetConvertStrokesToOutlines()Returns:
booleanIf true, convert strokes to outlines.
getExternalDPI
intgetExternalDPI()Returns:
intResolution for flattening edges of atomic regions. Range is 1 to 1200.
getGrayCompressionScheme
FlattenerGrayCompressiongetGrayCompressionScheme()Returns:
FlattenerGrayCompressionThe compression scheme used for flattened gray images. Default to GrayJPEGCompression.
getGrayImageQuality
FlattenerQualitySettinggetGrayImageQuality()Returns:
FlattenerQualitySettingQuality Setting for Flattened JPEG and JPEG2000 gray Images. This is valid only if the value of GrayCompressionScheme is equal to GrayJPEGCompression or GrayJPEG2000Compression Default value: High
getInternalDPI
intgetInternalDPI()Returns:
intResolution for flattening the interior of an atomic region. Range is 1 to 9600.
getMaxPageFlatteningTime
intgetMaxPageFlatteningTime()Returns:
intThe maximum allowed time that will be spent flattening a single page. A value less than zero will disable the time limit. A value equal to 0 (default) will set the limit to 120 seconds. A value greater than 0 will set the allowed limit (in seconds). Any value less than 60 seconds will be increased to 60 seconds.
getMonoCompressionScheme
FlattenerMonoCompressiongetMonoCompressionScheme()Returns:
FlattenerMonoCompressionThe compression scheme used for flattened monochrome images. Default to MonoCCITTGroup4Compression.
getPreserveOverprint
booleangetPreserveOverprint()Returns:
booleanIf true, attempt to preserve overprint.
getProfileDescription
StringgetProfileDescription()Returns:
StringThe Page Level Transparency Blending ColorSpace Profile Description.
getQuality
intgetQuality()Returns:
intThe percentage of vector information that is to be preserved. Lower values will cause higher rasterization of vectors. Range is 0 to 100.
getUseTextOutlines
booleangetUseTextOutlines()Returns:
booleanIf true, output text outlines instead of native text.
setClipComplexRegions
voidsetClipComplexRegions(booleantheSetting)Parameters
theSetting: boolean
Returns:
voidIf true, ensure that boundaries between vector and rasterized artwork fall along object paths.
setColorCompressionScheme
voidsetColorCompressionScheme(FlattenerColorCompressiontheScheme)Parameters
theScheme: FlattenerColorCompression
Returns:
voidThe compression scheme used for flattened color images. Default to JPEGCompression.
setColorImageQuality
voidsetColorImageQuality(FlattenerQualitySettingtheQuality)Parameters
theQuality: FlattenerQualitySetting
Returns:
voidQuality Setting for Flattened JPEG and JPEG2000 colored Images. This is valid only if the value of ColorCompressionScheme is equal to JPEGCompression or JPEG2000Compression Default value: High
setConvertStrokesToOutlines
voidsetConvertStrokesToOutlines(booleantheSetting)Parameters
theSetting: boolean
Returns:
voidIf true, convert strokes to outlines.
setExternalDPI
voidsetExternalDPI(inttheExternalDPI)Parameters
theExternalDPI: int
Returns:
voidResolution for flattening edges of atomic regions. Range is 1 to 1200.
setGrayCompressionScheme
voidsetGrayCompressionScheme(FlattenerGrayCompressiontheScheme)Parameters
theScheme: FlattenerGrayCompression
Returns:
voidThe compression scheme used for flattened gray images. Default to GrayJPEGCompression.
setGrayImageQuality
voidsetGrayImageQuality(FlattenerQualitySettingtheQuality)Parameters
theQuality: FlattenerQualitySetting
Returns:
voidQuality Setting for Flattened JPEG and JPEG2000 gray Images. This is valid only if the value of GrayCompressionScheme is equal to GrayJPEGCompression or GrayJPEG2000Compression Default value: High
setInternalDPI
voidsetInternalDPI(inttheInternalDPI)Parameters
theInternalDPI: int
Returns:
voidResolution for flattening the interior of an atomic region. Range is 1 to 9600.
setMaxPageFlatteningTime
voidsetMaxPageFlatteningTime(inttheTime)Parameters
theTime: int
Returns:
voidThe maximum allowed time that will be spent flattening a single page. A value less than zero will disable the time limit. A value equal to 0 (default) will set the limit to 120 seconds. A value greater than 0 will set the allowed limit (in seconds).
setMonoCompressionScheme
voidsetMonoCompressionScheme(FlattenerMonoCompressiontheScheme)Parameters
theScheme: FlattenerMonoCompression
Returns:
voidThe compression scheme used for flattened monochrome images. Default to MonoCCITTGroup4Compression.
setPreserveOverprint
voidsetPreserveOverprint(booleantheSetting)Parameters
theSetting: boolean
Returns:
voidIf true, attempt to preserve overprint.
setProfileDescription
voidsetProfileDescription(Stringdescript)Parameters
descript: String
Returns:
voidThe Page Level Transparency Blending ColorSpace Profile Description.
setQuality
voidsetQuality(inttheQuality)Parameters
theQuality: int
Returns:
voidThe percentage of vector information that is to be preserved. Lower values will cause higher rasterization of vectors. Range is 0 to 100.
setUseTextOutlines
voidsetUseTextOutlines(booleantheSetting)Parameters
theSetting: boolean
Returns:
voidIf true, output text outlines instead of native text.