TXTextControl.InlineStyle Constructor

Creates a new instance of the InlineStyle class.

InlineStyle(String)

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

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

Specifies the new style's name.

InlineStyle(String, String)

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

[C#]
public InlineStyle(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 based on.

InlineStyle(InlineStyle)

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

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

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

See Also