Font.Reset method (Publisher)

Removes manual paragraph or text formatting from the specified object and leaves only the formatting specified by the current text style.

Syntax

expression.Reset

expression A variable that represents a Font object.

Return value

Nothing

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
  

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.