PGetVertGuides

Gets the number of vertical ruler guides and their positions.


Query results

PGetVertGuides is a subclass of PListQuery. This query returns a list containing the vertical guide coordinates. Be sure that PListQuery::Count() > 0 before referencing this field.

long xPosition;

x coordinate of each guide in twips.
PageMaker returns the vertical guides in the order in which they were created.

PGetVertGuides vGuides;
for (short i = vGuides.Count(); i > 0; --i) {
long temp = vGuides.xPosition;
...
vGuides++;
}


See also

The PGetGuides, PGetHorizGuides, PGetLockGuides, PGetRulers, PGetSnapToGuides, PGetSnapToRulers, and PGetZeroLock queries

The PGuideVert command



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

Comments or suggestions? Contact Adobe Developer Support