DocumentBase.DefaultTabStop Property

Definition

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

public float DefaultTabStop { get; set; }

Property Value

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

Applies to