PPosition

Sets the position (normal, superscript, or subscript) of text. The extent of the action depends on which tool is active, whether any text is selected, and whether a publication is open when the command is executed.


Command constructor

PPosition(ePosition cPosition);
kPositionNormal
kPositionSuperscript
kPositionSuperscript
Specifying text size and placement. The size of text that is positioned as superscript or subscript can be specified using parameters with the PTypeOptions command. The text position relative to the baseline can also be specified with PTypeOptions.

Example. The following example selects a text block that starts at the top of the first column. It then selects the first character and changes its position to superscript.

PSelect(1)
PTextEdit();
PTextSelect(char);
PPosition(kPositionSuperscript);


See also

The PGetTypePosition query

Adobe PageMaker 6.5 Help > Commands > Type > Type Specs


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

Comments or suggestions? Contact Adobe Developer Support