
Initializes a new instance of the ParagraphStyle class. The first implemation creates an instance based on the TextControl root style named [Normal]. The second implementation creates an instance based on the specified base style. The third constructor creates a new root style that has all attributes of the specified style.
[C#]
public ParagraphStyle(string name);
public ParagraphStyle(string name, string baseStyle);
public ParagraphStyle(ParagraphStyle style);
[Visual Basic]
Public Sub New(ByVal name As String)
Public Sub New(ByVal name As String, ByVal baseStyle As String)
Public Sub New(ByVal style As ParagraphStyle)
| Parameter | Description | |
| name | Specifies the new style's name. | |
| baseStyle | Specifies the name of the style the new style is based on. | |
| style | Is a style the attributes of which are used to initialize the new style. |