PGetTextWrapPoly

Gets the number of points in the text-wrap polygon for the selected object and their coordinates.


Query results

This query returns a list of points:

long xLocation;

x coordinate of point relative to upper-left handle of graphic in twips
long yLocation;
y coordinate location of point relative to upper-left handle of graphic in twips
Order of coordinates. PageMaker returns coordinates in clockwise order, starting from the upper left. First and last points do not repeat.

Zero returned for rectangular text wrap. PageMaker does not recognize a rectangle as a text-wrap polygon. If a rectangular text wrap has been specified (that is, the second icon in the first line of the Text Wrap dialog box is highlighted), PageMaker returns a zero for this query.


See also

The PGetTextWrap query

The PTextWrap and PTextWrapPoly commands


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

Comments or suggestions? Contact Adobe Developer Support