![]() |
![]() |
PPickColor(const char * sColorName, PMBool bOverPrint, const char * sPicker, char
* sLibrary, const char * sColor);
Path names not required. It is not necessary to specify paths for the sPicker and sLibrary parameters.const char * sColorName;
Name of the new color, or the color being redefined (maximum of 31 characters). If redefining an existing color, the name must match exactly as it appears on the Colors palette.PMBool bOverPrint;
false for knockout
true for overprintconst char * sPicker;
Name of the installed color picker (including the .add file extension)const char * sLibrary;
Name of the color library (without the .acf extension)
Specify an empty string ("") if there is only one library for the specified color pickerconst char * sColor;
Name of color (exactly as it appears in the color library) to be used to define (or redefine) the color specified with sColorName
Colors are editable. Any color specified using this command may be subsequently edited using the PDefineColor command.
Specifying a name. When specifying a color in a library, such as PANTONE or TOYO, specify the name of the color exactly as it appears in the color library. For instance, to install the PANTONE color 2665 CV, specify, "PANTONE 2665 CV."
Examples. The following example defines color "MyRed" to be the TRUMATCH color "6-a1." It is a spot color that knocks out any underlying inks.
PPickColor("MyRed", false, "AldColor.add", "Trumatch",
"TRUMATCH 6-a1");
The following example redefines the spot color "Red" to be the PANTONE library.
PPickColor("Red",0,"AldColor.add","Pantone®Coated","PANTONE Red 032 CV");
The PGetColorInfo, PGetColorNames, and PGetPickers queries
Adobe PageMaker 6.5 Help > Commands > Window > Colors
Comments or suggestions? Contact Adobe Developer Support