PNudge

Moves the selected object the amount specified.


Command constructor

PNudge(long xAmount, long yAmount);
long xAmount;
Amount to move the object horizontally in twips
long yAmount;
Amount to move the object vertically in twips
Moving multiple objects. The PNudge command can move more than one object at a time if multiple objects are selected.

Layout view only. Use the PNudge command only in layout view.

Example. The following example moves the selected object one inch to the right along the horizontal (x) axis, and three inches up along the vertical (y) axis, relative to the rulers' zero point.

PGetConvertStr x("1i");
PNudge(x, 3 * x);


See also

The PMove command

Adobe PageMaker 6.5 Help > Commands > Window > Control Palette


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

Comments or suggestions? Contact Adobe Developer Support