[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TextCollection.AddTab

AddTab Method

AddTab()

Adds a Tab to this collection at the End location.

Declaration
public Tab AddTab()
Public Function AddTab() As Tab
Returns
Type Description
Tab

The added Tab.

AddTab(TabAlignment)

Adds a Tab to this collection at the End location.

Declaration
public Tab AddTab(TabAlignment alignment)
Public Function AddTab(alignment As TabAlignment) As Tab
Parameters
Type Name Description
TabAlignment alignment

The tab alignment.

Returns
Type Description
Tab

The added Tab.

AddTab(TabAlignment, TabLeader)

Adds a Tab to this collection at the End location.

Declaration
public Tab AddTab(TabAlignment alignment, TabLeader leader)
Public Function AddTab(alignment As TabAlignment, leader As TabLeader) As Tab
Parameters
Type Name Description
TabAlignment alignment

The tab alignment.

TabLeader leader

The tab leader character.

Returns
Type Description
Tab

The added Tab.

AddTab(TabAlignment, TabLeader, TabRelativeTo)

Adds a Tab to this collection at the End location.

Declaration
public Tab AddTab(TabAlignment alignment, TabLeader leader, TabRelativeTo relativeTo)
Public Function AddTab(alignment As TabAlignment, leader As TabLeader, relativeTo As TabRelativeTo) As Tab
Parameters
Type Name Description
TabAlignment alignment

The tab alignment.

TabLeader leader

The tab leader character.

TabRelativeTo relativeTo

The extent to calculate the position of the tab.

Returns
Type Description
Tab

The added Tab.