Sdílet prostřednictvím


DocumentBase.DefaultTabStop Property

Definition

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

public:
 property float DefaultTabStop { float get(); void set(float value); };
public float DefaultTabStop { get; set; }
member this.DefaultTabStop : single with get, set
Public Property DefaultTabStop As Single

Property Value

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