ParagraphFormat Property

Microsoft Publisher Visual Basic

object representing the paragraph formatting for the specified text range or text style.

expression.ParagraphFormat

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example removes all the tab stops from the text in the first shape on page one of the active publication.

Dim pfTemp As ParagraphFormat

Set pfTemp = ActiveDocument.Pages(1).Shapes(1) _
    .TextFrame.TextRange.ParagraphFormat

pfTemp.Tabs.ClearAll