Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.