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)

Syntax

'Declaration
Public Property DefaultTabStop As Single
    Get
    Set
public float DefaultTabStop { get; set; }

Property Value

Type: System.Single
The interval (in points) between the default tab stops in the document.

Examples

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 Sub DocumentDefaultTabStop()
    Me.DefaultTabStop = Application.InchesToPoints(1)
End Sub
private void DocumentDefaultTabStop()
{
    this.DefaultTabStop = Application.InchesToPoints(1);
}

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace