PZeroPoint

Moves the zero point of the rulers to the specified x and y coordinates.


Command constructor

PZeroPoint(long x1, long y1);
long x1;
x coordinate where the zero point is to be located, relative to the current zero point location in twips
long y1;
y coordinate where the zero point is to be located, relative to the current zero point location in twips
Know the zero-point location. All coordinates (except those set by the PTextWrapPoly command) are relative to the rulers' zero point. It is important to know where the zero point is before using commands that use x and y coordinate parameters.

ZeroLock must be off. The PZeroPoint command returns an error when the zero point is locked. To turn the lock off, use the PZeroLock command.

Layout view only. The PZeroPoint command works only in layout view.

Example. The following example moves the zero point one inch below the vertical axis.

PZeroPoint(0, twips("1i"));


See also

The PZeroPointReset commands

The PGetZeroPoint query

Adobe PageMaker 6.5 Help > Commands > Layout > Guides and Rulers


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

Comments or suggestions? Contact Adobe Developer Support