Reset Method

Microsoft Publisher Visual Basic

expression.Reset

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

Example

The following example resets the character formatting of the text in shape one on page one of the active publication to the default character formatting for the current text style.

ActiveDocument.Pages(1).Shapes(1) _
    .TextFrame.TextRange.Font.Reset
		

The following example resets the paragraph formatting of the text in shape one on page one of the active publication to the default paragraph formatting for the current text style.

ActiveDocument.Pages(1).Shapes(1) _
    .TextFrame.TextRange.ParagraphFormat.Reset