PStyleEnd

Marks the end of the current style definition.


Command constructor

PStyleEnd();

Apply style with PStyle command. The PStyleEnd command is used with PStyleBegin and is required to complete a style definition. The newly defined style is then available to be specified with the PStyle command.

Use PStyleEnd command to end definition. If you do not complete a style definition with the PStyleEnd command (e.g., by omitting the PStyleEnd command or by not completing the definition due to an error), PageMaker remains in the style definition state until you either send the PStyleEnd command or:

While in the style-definition state, the Define Styles command remains dimmed in the Type menu. Until PageMaker receives the PStyleEnd command, all subsequent commands and queries relevant to paragraph styles (such as type, paragraph, hyphenation, and color commands) apply to the style being defined.

Example. The following example defines Heading 1 as point-size 24 in the font Times.

PStyleBegin("Heading 1");
PSize(24);
PFont("Times");
PStyleEnd();


See also

The PStyle and PStyleBegin commands

The PGetStyle and PGetStyleNames queries

Adobe PageMaker 6.5 Help > Commands > Type > Define Styles


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

Comments or suggestions? Contact Adobe Developer Support