ParagraphStyle Class |
|
The ParagraphStyle class defines a formatting style for paragraphs. In addition to the properties
described here, it inherits all properties and methods of the FormattingStyle class. |
|
| Syntax: |
|
[C#]
public sealed class ParagraphStyle : FormattingStyle
[Visual Basic]
Public NotInheritable Class ParagraphStyle
Inherits FormattingStyle
|
| Introduced: |
|
10.1
|
Constructors |
| Constructor |
|
Description |
|
| |
| ParagraphStyle |
|
Initializes a new instance of the ParagraphStyle class.
|
Properties |
| Property |
|
Description |
|
| |
| Baseline |
|
Gets or sets the baseline alignment, in twips, of the style.
|
| Bold |
|
Gets or sets the bold attribute of the style.
|
| FollowingStyle |
|
Gets or sets the name of the style that TextControl automatically selects for the following paragraph
after the user has pressed the ENTER key.
|
| FontName |
|
Gets or sets the font of the style.
|
| FontSize |
|
Gets or sets the font's size of the style.
|
| ForeColor |
|
Gets or sets the style's color used to display the text.
|
| Italic |
|
Gets or sets the italic attribute of the style.
|
| ListFormat |
|
Gets or sets the style's bulleted or numbered list and/or its formatting attributes.
|
| Name |
|
Gets or sets the name of the style.
|
| ParagraphFormat |
|
Gets or sets the style's paragraph attributes.
|
| Strikeout |
|
Gets or sets the strikeout attribute of the style.
|
| TextBackColor |
|
Gets or sets the style's text background color.
|
| Underline |
|
Gets or sets underlining styles for the style.
|
Methods |
| Method |
|
Description |
|
| |
| Apply |
|
Applies all set attributes of the style to the current document.
|
|
| See also: |
|
Stylesheet Programming, Graphical Overview. |