Share via


TabStop.Alignment Property

Word Developer Reference

Returns or sets a WdTabAlignment constant that represents the alignment for the specified tab stop. Read/write.

Syntax

expression.Alignment

expression   Required. A variable that represents a TabStop object.

Example

This example centers the first tab stop in the first paragraph of the active document.

Visual Basic for Applications
  Sub CenterTabStop()
    ActiveDocument.Paragraphs(1).TabStops(1) _
        .Alignment = wdAlignTabCenter
End Sub

See Also