DocumentDefaultTabStop Property

Gets or sets the interval (in points) between the default tab stops.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public double DefaultTabStop { get; set; }

Property Value

Type: Double
Remarks
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