TXTextControl.ParagraphStyle Constructor

Creates a new instance of the ParagraphStyle class.

ParagraphStyle(String)

Creates a new instance of the ParagraphStyle class based on the TextControl root style named [Normal].

[C#]
public ParagraphStyle(string name);
[Visual Basic]
Public Sub New(ByVal name As String)
Parameter Description
name

Specifies the new style's name.

ParagraphStyle(String, String)

Creates a new instance of the ParagraphStyle class based on the specified base style.

[C#]
public ParagraphStyle(string name, string baseStyle);
[Visual Basic]
Public Sub New(ByVal name As String, ByVal baseStyle As String)
Parameter Description
name

Specifies the new style's name.

baseStyle

Specifies the name of the style the new style is based on.

ParagraphStyle(ParagraphStyle)

Creates a new root style that has all attributes of the specified style.

[C#]
public ParagraphStyle(ParagraphStyle style);
[Visual Basic]
Public Sub New(ByVal style As ParagraphStyle)
Parameter Description
style

Is a style the attributes of which are used to initialize the new style.

See Also