PLayAdjOpts

Changes the preferences for layout adjustment.

This command is new in PageMaker 6.5


Command constructors

This class has two constructors.

PLayAdjOpts(long nSnapToZone, PMBool bResizeOK, PMBool bIgnoreLocks, PMBool bIgnoreGuides, PMBool bMoveGuides, PMBool bKeepGuidesAligned);

long nSnapToZone;
the maximum distance over which an object will snap to a guide
PMBool bResizeOK;
true groups and imported graphics will resize to fit
false groups and imported graphics will retain their current size
PMBool bIgnoreLocks;
true locked objects will move with layout
false locked objects will not move
PMBool bIgnoreGuides;
true ruler guides are ignored
false objects keep the alignment to ruler guides
PMBool bMoveGuides;
true ruler guides move with layout
false ruler guides will not move
PMBool bKeepGuidesAligned;
true keep guides aligned on
false turn guides aligned off
PLayAdjOpts(const PGetLayAdjOpts& currOpts);
Use the corresponding PGetLayAdjOpts query object to set the options.
Example. The following example sets the snap to zone to 0.016 inches, turns on the options for resizing graphics, ignoring object and layer locks, moving ruler guides, and keeping the ruler guides aligned, and turns off the option to ignore ruler guides.

PLayAdjOpts(twips("0.016i"), true, true, false, true, true);


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

Comments or suggestions? Contact Adobe Developer Support