ITextParagraphFormat.AddTab method

Applies to Windows and Windows Phone

Adds a new tab at the specified position.

Syntax


void AddTab(
  float position, 
  TabAlignment align, 
  TabLeader leader
)

Parameters

position

Type: System.Single [.NET] | float32 [C++]

The position of the new tab, in floating-point points relative to the left side of the page for left-to-right paragraphs, or the right side of the page for right-to-left paragraphs. A maximum of 63 tabs are allowed. Tabs beyond the page are ignored. Negative tabs are not valid.

align

Type: TabAlignment

The alignment option for the tab position.

leader

Type: TabLeader

The character used to fill the space taken by a tab character.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

See also

ITextDocument.DefaultTabStop
ITextParagraphFormat
ITextParagraphFormat.ClearAllTabs
ITextParagraphFormat.DeleteTab
ITextParagraphFormat.GetTab
ITextParagraphFormat.TabCount

 

 

Show:
© 2014 Microsoft