PDPrefSetAntialiasLevel, and are similar to PDPageDrawSmoothFlags. kPDPrefAASmoothText=0x00000001 | Draw smooth text.
|
kPDPrefAASmoothLineArt=0x00000002 | Draw smooth line art.
|
kPDPrefAASmoothImage=0x00000010 | Draw smooth image.
|
PDPrefAASmoothText=1 | |
PDPrefAASmoothLineArt=2 | |
PDPrefAASmoothImage=0x00000010 |
Value options for PDRefXObjMode.
kRefXObjNever=0 | Never display reference XObjects. If a file contains reference XObjects, their content will not be displayed, and only the proxy will be displayed if this mode is selected.
|
kRefXObjAlways=1 | Always display reference XObjects. All files containing reference XObjects will display content from the XObjects.
|
kRefXObjPDFX5=2 | All files that are PDFX5 compliant and that contain reference XObjects will display their content.
|
kRefXObjAlwaysAssured=3 | Always display reference XObjects, but do not display the proxy. The PDF parsing fails if the target is not found.
|
kRefXObjPDFX5Assured=4 | Always display reference XObjects, but do not display the proxy. The PDF parsing fails if the target PDF/X-5 document is not found.
|
For value options see RefXObjOptions.
typedef ASInt32 PDRefXObjMode;
ASUns32 PDPrefGetAntialiasLevel(void);
ASBool PDPrefGetBlackPointCompensation(void);
true if black-point compensation is done. ASBool PDPrefGetEnableThinLineHeuristics(void);
ASInt16 PDPrefGetGreekLevel(void);
PDRefXObjMode PDPrefGetRefXObj(ASFileSys *fileSys, ASPathName *pathName);
fileSys | Used with
pathname to specify where the target files should be found. |
pathname | Used with
fileSys to specify the location of the target files. |
suppress flag for ICC-based spaces with the specified number of components. ASBool PDPrefGetSuppressICCSpaces(ASUns32 nComponents);
nComponents | The number of ICC-based space components that are suppressed or not, according to the flag value.
|
suppress flag value. true, the system overrides the working space with the Output Intent, if it is present. ASBool PDPrefGetUseOutputIntents(void);
Sets the default smooth text and smooth images global flags for subsequent rendering methods.
If the function PDPageDrawContentsToMemory() is used for drawing, the smoothFlags value passed to that function supersedes the preference value for the duration of the call.
void PDPrefSetAntialiasLevel(ASUns32 antialiasPixelLevel);
antialiasPixelLevel |
OR of the following flags: |
void PDPrefSetBlackPointCompensation(ASBool kbpc);
kbpc |
void PDPrefSetEnableThinLineHeuristics(ASBool doThinLineTricks);
doThinLineTricks |
void PDPrefSetGreekLevel(ASInt16 greekPixelLevel);
greekPixelLevel | The greek level, in pixels.
|
void PDPrefSetRefXObj(PDRefXObjMode refXObjMode, ASFileSys fileSys, ASPathName pathName);
refXObjMode | The mode to view or print reference XObjects. Its value can be one of the following:
| ||||||||||||
fileSys | Used with
pathname to specify where the target files should be found. | ||||||||||||
pathname | Used with
fileSys to specify the location of the target files. |
void PDPrefSetSuppressICCSpaces(ASUns32 nComponents, ASBool value);
nComponents | The number of ICC color space components.
|
value | When
true, use a DefaultCMYK, DefaultRGB, or DefaultGray color space instead of an ICC-based color space with the same number of components. |
void PDPrefSetUseLocalFonts(ASBool useLocalFonts);
useLocalFonts |
void PDPrefSetUseOutputIntents(ASBool flag);
flag | When
true, use Output Intent to override a working space if it is present. |
void PDPrefSetWorkingCMYK(void *profile, ASUns32 profileLength);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|
void PDPrefSetWorkingGray(void *profile, ASUns32 profileLength);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|
void PDPrefSetWorkingRGB(void *profile, ASUns32 profileLength);
profile | A pointer to a buffer containing the ICC color profile.
|
profileLength | The length in bytes of the profile.
|