PStyle

Sets the specified paragraph style. 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

PStyle(const char * sStyleName);
Name of the style exactly as it appears when you choose Style from the Type menu (maximum of 31 characters)
Example. This command applies the Headline style to the first paragraph in the text block.

PSelect(1);
PTextEdit();
PStyle("Headline");


See also

The PBasedOn, PNextStyle, PStyleBegin, and PStyleEnd commands

The PGetStyle query

Adobe PageMaker 6.5 Help > Commands > Type > Style


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

Comments or suggestions? Contact Adobe Developer Support