FormatDefineStylePara

Syntax

FormatDefineStylePara [.LeftIndent = number or text] [, .RightIndent = number or text] [, .Before = number or text] [, .After = number or text] [, .LineSpacingRule = number] [, .LineSpacing = number or text] [, .Alignment = number] [, .WidowControl = number] [, .KeepWithNext = number] [, .KeepTogether = number] [, .PageBreak = number] [, .NoLineNum = number] [, .DontHyphen = number] [, .Tab = number] [, .FirstIndent = number or text]

Remarks

Sets paragraph formats for either the current style or the style specified in a FormatStyle instruction containing the .Define argument. Note that when modifying the style specified with FormatStyle, the FormatDefineStylePara instruction follows the FormatStyle instruction.

The arguments for the FormatDefineStylePara statement correspond to the options in the Paragraph dialog box (Format menu). For argument descriptions, see FormatParagraph.

Example

This example adds 4 points of Before formatting and 4 points of After formatting to the definition of the style "TestMe":


FormatStyle .Name = "TestMe", .Define
FormatDefineStylePara .Before = "4 pt", .After = "4 pt"

See Also

FormatParagraph, FormatStyle