public class FlattenTransparencyParams
extends java.lang.Object
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.
| Constructor and Description |
|---|
FlattenTransparencyParams()
Set up default parameters for flattening transparency.
|
FlattenTransparencyParams(boolean UseTextOutlines,
boolean ConvertStrokesToOutlines,
boolean ClipComplexRegions,
int InternalDPI,
int ExternalDPI,
boolean PreserveOverprint,
int Quality)
Set up parameters for flattening transparency.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
getClipComplexRegions()
If true, ensure that boundaries between vector and rasterized artwork fall along object paths.
|
FlattenerColorCompression |
getColorCompressionScheme()
The compression scheme used for flattened color images.
|
FlattenerQualitySetting |
getColorImageQuality()
Quality Setting for Flattened JPEG and JPEG2000 colored Images.
|
boolean |
getConvertStrokesToOutlines()
If true, convert strokes to outlines.
|
int |
getExternalDPI()
Resolution for flattening edges of atomic regions.
|
FlattenerGrayCompression |
getGrayCompressionScheme()
The compression scheme used for flattened gray images.
|
FlattenerQualitySetting |
getGrayImageQuality()
Quality Setting for Flattened JPEG and JPEG2000 gray Images.
|
int |
getInternalDPI()
Resolution for flattening the interior of an atomic region.
|
int |
getMaxPageFlatteningTime()
The maximum allowed time that will be spent flattening a single page.
|
FlattenerMonoCompression |
getMonoCompressionScheme()
The compression scheme used for flattened monochrome images.
|
boolean |
getPreserveOverprint()
If true, attempt to preserve overprint.
|
java.lang.String |
getProfileDescription()
The Page Level Transparency Blending ColorSpace Profile Description.
|
int |
getQuality()
The percentage of vector information that is to be preserved.
|
boolean |
getUseTextOutlines()
If true, output text outlines instead of native text.
|
void |
setClipComplexRegions(boolean theSetting)
If true, ensure that boundaries between vector and rasterized artwork fall along object paths.
|
void |
setColorCompressionScheme(FlattenerColorCompression theScheme)
The compression scheme used for flattened color images.
|
void |
setColorImageQuality(FlattenerQualitySetting theQuality)
Quality Setting for Flattened JPEG and JPEG2000 colored Images.
|
void |
setConvertStrokesToOutlines(boolean theSetting)
If true, convert strokes to outlines.
|
void |
setExternalDPI(int theExternalDPI)
Resolution for flattening edges of atomic regions.
|
void |
setGrayCompressionScheme(FlattenerGrayCompression theScheme)
The compression scheme used for flattened gray images.
|
void |
setGrayImageQuality(FlattenerQualitySetting theQuality)
Quality Setting for Flattened JPEG and JPEG2000 gray Images.
|
void |
setInternalDPI(int theInternalDPI)
Resolution for flattening the interior of an atomic region.
|
void |
setMaxPageFlatteningTime(int theTime)
The maximum allowed time that will be spent flattening a single page.
|
void |
setMonoCompressionScheme(FlattenerMonoCompression theScheme)
The compression scheme used for flattened monochrome images.
|
void |
setPreserveOverprint(boolean theSetting)
If true, attempt to preserve overprint.
|
void |
setProfileDescription(java.lang.String descript)
The Page Level Transparency Blending ColorSpace Profile Description.
|
void |
setQuality(int theQuality)
The percentage of vector information that is to be preserved.
|
void |
setUseTextOutlines(boolean theSetting)
If true, output text outlines instead of native text.
|
public FlattenTransparencyParams()
UseTextOutlines - Output text outlines instead of native text. Default is true.
ConvertStrokesToOutlines - Convert strokes to outlines. Default is true.
ClipComplexRegions - Ensure that boundaries between vector and rasterized artwork fall along object paths. Default is true.
InternalDPI - Resolution for flattening the interior of an atomic region. Default is 150.
ExternalDPI - Resolution for flattening edges of atomic regions. Default is 300.
PreserveOverprint - Attempt to preserve overprint. Default is true.
Quality - The percentage of vector information that is to be preserved. Default is 100.
public FlattenTransparencyParams(boolean UseTextOutlines,
boolean ConvertStrokesToOutlines,
boolean ClipComplexRegions,
int InternalDPI,
int ExternalDPI,
boolean PreserveOverprint,
int Quality)
UseTextOutlines - If true, output text outlines instead of native text.ConvertStrokesToOutlines - If true, convert strokes to outlines.ClipComplexRegions - If true, ensure that boundaries between vector and rasterized artwork fall along object paths.InternalDPI - Resolution for flattening the interior of an atomic region. Range is 1 to 9600.ExternalDPI - Resolution for flattening edges of atomic regions. Range is 1 to 1200.PreserveOverprint - If true, attempt to preserve overprint.Quality - The percentage of vector information that is to be preserved. Lower values will cause higher rasterization of vectors. Range is 0 to 100.public void delete()
public boolean getUseTextOutlines()
public void setUseTextOutlines(boolean theSetting)
public boolean getConvertStrokesToOutlines()
public void setConvertStrokesToOutlines(boolean theSetting)
public boolean getClipComplexRegions()
public void setClipComplexRegions(boolean theSetting)
public int getInternalDPI()
public void setInternalDPI(int theInternalDPI)
public int getExternalDPI()
public void setExternalDPI(int theExternalDPI)
public boolean getPreserveOverprint()
public void setPreserveOverprint(boolean theSetting)
public int getQuality()
public void setQuality(int theQuality)
public FlattenerColorCompression getColorCompressionScheme()
public void setColorCompressionScheme(FlattenerColorCompression theScheme)
public FlattenerGrayCompression getGrayCompressionScheme()
public void setGrayCompressionScheme(FlattenerGrayCompression theScheme)
public FlattenerMonoCompression getMonoCompressionScheme()
public void setMonoCompressionScheme(FlattenerMonoCompression theScheme)
public void setColorImageQuality(FlattenerQualitySetting theQuality)
public FlattenerQualitySetting getColorImageQuality()
public void setGrayImageQuality(FlattenerQualitySetting theQuality)
public FlattenerQualitySetting getGrayImageQuality()
public java.lang.String getProfileDescription()
public void setProfileDescription(java.lang.String descript)
public int getMaxPageFlatteningTime()
public void setMaxPageFlatteningTime(int theTime)