[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TabStopCollection.Add

Add Method

Add(float)

Adds or replaces a tab stop at a specified position.

Declaration
public TabStop Add(float position)
Public Function Add(position As Single) As TabStop
Parameters
Type Name Description
float position

The position (in points) where to add the tab stop.

Returns
Type Description
TabStop

The new tab stop object added at the specified position.

Add(float, TabStopAlignment)

Adds or replaces a tab stop at a specified position.

Declaration
public TabStop Add(float position, TabStopAlignment alignment)
Public Function Add(position As Single, alignment As TabStopAlignment) As TabStop
Parameters
Type Name Description
float position

The position (in points) where to add the tab stop.

TabStopAlignment alignment

A TabStopAlignment value that specifies the alignment of text at the tab stop.

Returns
Type Description
TabStop

The new tab stop object added at the specified position.

Add(float, TabStopAlignment, TabStopLeader)

Adds or replaces a tab stop at a specified position.

Declaration
public TabStop Add(float position, TabStopAlignment alignment, TabStopLeader leader)
Public Function Add(position As Single, alignment As TabStopAlignment, leader As TabStopLeader) As TabStop
Parameters
Type Name Description
float position

The position (in points) where to add the tab stop.

TabStopAlignment alignment

A TabStopAlignment value that specifies the alignment of text at the tab stop.

TabStopLeader leader

A TabStopLeader value that specifies the type of the leader line displayed under the tab character.

Returns
Type Description
TabStop

A new tab stop object specified on the position.