![]() |
![]() |
PTextWrap(short cWrapOption, eFlow cTextFlow, long xLeftSO,
long yTopSO, long xRightSO, long yBottomSO, short cLayerWrap);
Place graphics after using PTextWrap command. To wrap text around all or most of the graphics in a publication in the same way, use the PTextWrap command before placing any graphics.short cWrapOption;
kWrapNone to flow text over a graphic (these constants are defined in PKeywords.h)
kWrapRect to create a rectangular graphic boundary around which the text will flow
kWrapIrregular only if the boundary has already been changed with the PTextWrapPoly commandeFlow cTextFlow;
kFlowBreak to stop text flow at a graphic and then continue the text flow at the start of the next column (these constants are defined in PKeywords.h)
kFlowJumpOver to stop text flow above the graphic and then to continue below it, leaving white space on either side
kFlowAllSides to flow text around the graphic on all sideslong xLeftSO;
Left stand-off for graphics with a rectangular text wrap, from -22.75 to 22.75 inches in twips
0 (zero) for either irregular or no text wraplong yTopSO;
Top stand-off for rectangular text wrap, from -22.75 to 22.75 inches in twips
0 (zero) for either irregular or no text wraplong xRightSO;
Right stand-off for rectangular text wrap, from -22.75 to 22.75 inches in twips
0 (zero) for either irregular or no text wraplong yBottomSO;
Bottom stand-off for rectangular text wrap, from -22.75 to 22.75 inches in twips
0 (zero) for either irregular or no text wrapshort cLayerWrap;
0 text wraps around object normally
1 only text on the same layer wraps around the object
kParmDefault text wraps around the object according to the publication default
kParmDontCare the text wrap layer option does not change for this object
Default when no publication is open. To set text-wrap defaults for all graphics you create or place in future PageMaker publications, use the PTextWrap command when no publication is open.
Wrap set on master pages applies throughout publication. Selecting a text-wrap style for a graphic on a master page causes text to wrap around that graphic on any page on which it appears.
Layout view only. The PTextWrap command works only in layout view.
Example. The following example wraps text around the top and bottom sides of the selected graphic, with an offset from the graphic of 0.2 inches.
PSelect(1);
PTextWrap(kWrapRect, kFlowJumpOver, 0, twips(".2i"), 0, twips(".2i"),
0);
The PGetTextWrap and PGetTextWrapPoly queries
Adobe PageMaker 6.5 Help > Commands > Element > Text Wrap
Comments or suggestions? Contact Adobe Developer Support