![]() |
![]() |
PNextStyle(const char * sNextStyle);
Exact name of the next style (maximum of 31 characters)Use PStyleBegin command first. You must precede this command with the PStyleBegin command, which marks the beginning of a style definition and specifies the name of the style being defined or edited. The PStyleEnd command is required to complete the definition.
Style applied to next new paragraph. The sNextStyle value is the style applied to the new paragraph created when the Return key is pressed.
Specifying style names. When typing the style name, follow the spelling, capitalization, and punctuation of the style exactly as it appears in the Styles palette list.
Example. The following example defines the new style "Heading 2" (or edits an existing style by that name) and specifies "Heading 1" as the style on which it is based. It then identifies the style used in paragraphs that follow "Heading 2."
PStyleBegin("Heading 2");
PBasedOn("Heading 1");
PNextStyle("Para");
PStyleEnd();
Adobe PageMaker 6.5 Help > Commands > Type > Define Styles
Comments or suggestions? Contact Adobe Developer Support