Document.DefaultTabStop Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property DefaultTabStop As Single
'Usage
Dim instance As Document 
Dim value As Single 

value = instance.DefaultTabStop

instance.DefaultTabStop = value
[BrowsableAttribute(false)]
public float DefaultTabStop { get; set; }
[BrowsableAttribute(false)]
public:
property float DefaultTabStop {
    float get ();
    void set (float value);
}
public function get DefaultTabStop () : float 
public function set DefaultTabStop (value : float)

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.

This example is for a document-level customization.

Private Sub DocumentDefaultTabStop()
    Me.DefaultTabStop = Application.InchesToPoints(1)
End Sub
private void DocumentDefaultTabStop()
{
    this.DefaultTabStop = Application.InchesToPoints(1);
}

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace