constant that represents the leader character for a tab stop. Read/write.
PbTabLeaderType can be one of these PbTabLeaderType constants. |
pbTabLeaderBullet |
pbTabLeaderDashes |
pbTabLeaderDot |
pbTabLeaderLine |
pbTabLeaderNone |
expression.Leader
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example changes the leader tab character of the selected paragraphs to dashes. This example assumes that the selected paragraph contains at least one tab stop.
Sub SetLeaderTab()
Selection.TextRange.ParagraphFormat _
.Tabs(1).Leader = pbTabLeaderDashes
End Sub
This example changes the leader tab character of the first paragraph in the specified text range to an underline. This example assumes that the specified paragraph contains at least one tab stop.
Sub SetNewTabLeader()
ActiveDocument.Pages(1).Shapes(1).TextFrame.TextRange.Paragraphs(1) _
.ParagraphFormat.Tabs(1).Leader = pbTabLeaderLine
End Sub