Table of contents
TOC
Collapse the table of content
Expand the table of content

Document.DefaultTabStop Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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 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.

Sub SetTab() 
 Application.ActiveDocument.DefaultTabStop = 72 
End Sub 
© 2018 Microsoft