PGetColumnGuides

Gets the number of columns on the current page (or pages for facing pages) and the position of the left and right column-guides for each column.


Query results

PGetColumnGuides is a subclass of PListQuery. Make sure that PListQuery::Count() > 0 before accessing these fields.

long xLeftPosition;

x coordinate of left column-guide in twips
long xRightPosition;
x coordinate of right column-guide in twips
Example. To set column guides, use the PColumnGuides command.
PGetColumnGuides colGuides;
for (short i = colGuides.Count(); i > 0; --i) {
    width = colGuides.xRightPosition - colGuides.xLeftPosition;
    colGuides++;
}


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

Comments or suggestions? Contact Adobe Developer Support