[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TabStop.-ctor

TabStop Constructor

TabStop(float, TabStopAlignment, TabStopLeader)

Initializes a new instance of the TabStop class.

Declaration
public TabStop(float offset, TabStopAlignment alignment = TabStopAlignment.Leading, TabStopLeader leader = TabStopLeader.None)
Public Sub New(offset As Single, Optional alignment As TabStopAlignment = TabStopAlignment.Leading, Optional leader As TabStopLeader = TabStopLeader.None)
Parameters
Type Name Description
float offset

The tab stop position, in graphic units.

TabStopAlignment alignment

Specifies how the text is aligned relative to the tab stop.

TabStopLeader leader

Specifies the type of the leader line.

TabStop(float, char)

Initializes a new instance of the TabStop class.

Declaration
public TabStop(float offset, char separator)
Public Sub New(offset As Single, separator As Char)
Parameters
Type Name Description
float offset

The tab stop position, in graphic units.

char separator

The separator character (the Alignment property is set to 'SeparatorTab').

Remarks

If the separator character code exceeds 0xFFFF, use the other constructor and set the Separator property explicitly.

TabStop(TabStop)

Initializes a new instance of the TabStop class copying data from an existing instance.

Declaration
public TabStop(TabStop source)
Public Sub New(source As TabStop)
Parameters
Type Name Description
TabStop source

The source instance of the TabStop class.