PBlackAttributes

Sets the values that control the trapping and automatic overprinting of "black" objects.


Command constructors

This class has two constructors.

PBlackAttributes(short dBlackLimit, PMBool bOvrprntTxt, short dOvrprntTxtSz, PMBool bOvrprntLines, PMBool bOvrprntFills);
short dBlackLimit;
kParmDontCare to leave black limit unchanged

Percentage of black, from 0% (0.0) to 100% (100.0), which sets minimum amount of black a color needs to be considered "black" for trapping and auto-overprinting (assuming the color has no cyan, magenta, or yellow component) in tenths of a percent (100% = 1000).

short bOvrprntTxt;
false to disable auto-overprinting of black text
true to enable auto-overprinting of black text
kParmDontCare to leave state unchanged
short dOvrprntTxtSz;
Point size below which black text is auto-over printed, from 4.0 to 650.0 in tenths of a percent (650.0 = 6500).
kParmDontCare to leave overprint text limit unchanged
short bOvrprntLines;
false to disable auto-overprinting of black line
true to enable auto-overprinting of black lines
kParmDontCare to leave state unchanged
short bOvrprntFills;
false to disable auto-overprinting of black fills
true to enable auto-overprinting of black fills
kParmDontCare to leave state unchanged
PBlackAttributes(const PGetBlackAttributes& blackAttr);
Use the corresponding PGetBlackAttributes query object to set the black attributes. This is an easy way to modify one attribute while leaving all the others the same. (You can also do this with the first constructor using the kParmDontCare constant.)
Examples. The following example sets a black limit of 90%, enables auto-over printing of black text below 18 points, and disables auto-overprinting of lines and fills.

PBlackAttributes(90.0, true, 18.0, false, false);

This example changes only the overprinting of black fills to true.

PGetBlackAttributes currAttributes;
currAttributes.bOvrprntFills = true;
PBlackAttributes(currAttributes);


See also

The PTrapSettings command

The PGetTrapSettings queries

Adobe PageMaker 6.5 Help > Commands > Utilities > Trapping Options


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support