ITextParagraphFormat.TabCount property

Applies to Windows and Windows Phone

Retrieves the tab count.

Syntax


int TabCount { get; }

Property value

Type: System.Int32 [.NET] | int32 [C++]

The tab count.

Remarks

The tab count of a new instance can be nonzero; for example, Microsoft Word stories begin with no explicit tabs defined, while rich edit instances start with a single explicit tab. To ensure there are no explicit tabs (that is, to set the tab count to zero), call the ITextParagraphFormat.ClearAllTabs method.

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.AddTab
ITextParagraphFormat.ClearAllTabs
ITextParagraphFormat.DeleteTab
ITextParagraphFormat.GetTab

 

 

Show:
© 2014 Microsoft