ControlCharTab Field

Tab character: "\x0009" or "\t".

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public static readonly string Tab

Field Value

Type: String
Examples
Changes default tab positions for the document and inserts text with some tab characters.
DocumentBuilder builder = new DocumentBuilder();

// Set default tab stop to 72 points (1 inch)
builder.Document.DefaultTabStop = 72;

builder.Writeln("Hello" + ControlChar.Tab + "World!");
builder.Writeln("Hello" + ControlChar.TabChar + "World!");
See Also