Share via


Document.DefaultTabStop Property

Publisher Developer Reference

Returns or sets a Variant corresponding to the default tab stop for all text in the active publication. Valid range is 1 to 1584 points (0.014" to 22"). Once set, numeric values are considered to be in points. String values may be in any unit supported by Microsoft Office Publisher. Point values are always returned. If values are outside the valid range, an error is returned. Read/write.

Syntax

expression.DefaultTabStop

expression   A variable that represents a Document object.

Return Value
Variant

Remarks

Use the InchesToPoints method to convert inches to points.

Example

This example sets the DefaultTabStop property to 72 points for all text in the active publication.

Visual Basic for Applications
  Sub SetTab()
    Application.ActiveDocument.DefaultTabStop = 72 
End Sub 

See Also