PFillStyle

Applies a fill to the selected object or objects.


Command constructor

PFillStyle(eFillStyle cFillStyle);
kParmDontCare to leave style unchanged
kFillNone
kFillPaper
kFillSolid
kFillVertFew
kFillVertLots
kFillHorizFew
kFillHorizLots
kFillDiagFew
kFillDiagLots
kFillHashFew
kFillHashLots
Text tool, story editor, or no object. If the text tool is active, the constructor will throw an exception. If either the story editor is active or no PageMaker objects are selected, the specified fill becomes the default fill for the publication.

Tinting and shading objects. In PageMaker 6.5, you tint an object's fill using the PFillAndLine command.

Example. The following example selects the second-drawn object and applies a pattern of a few horizontal lines (as shown in the Fill submenu).

PSelect(2);
PFillStyle(kFillHorizFew);


See also

The PGetFillAndLine and PGetFillStyle queries

Adobe PageMaker 6.5 Help > Commands > Element > Fill and Line


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

Comments or suggestions? Contact Adobe Developer Support