DocumentBase.DefaultTabStop Property

 

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

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public float DefaultTabStop { get; set; }

Property Value

Type: System.Single

The interval (in points) between the default tab stops in the document.

The following code example sets the default tab stop to one inch. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentDefaultTabStop()
{
    this.DefaultTabStop = Application.InchesToPoints(1);
}
Return to top
Show: