Share via


ShowHighlight Property

ShowHighlight Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

True if highlight formatting is displayed and printed with a document. Read/write Boolean.

expression.ShowHighlight

expression   Required. An expression that returns a View object.

Example

This example toggles the display of highlighting in the active document.

  ActiveDocument.ActiveWindow.View.ShowHighlight = _
    Not ActiveDocument.ActiveWindow.View.ShowHighlight

This example prints the active document without highlight formatting.

  With ActiveDocument
    .ActiveWindow.View.ShowHighlight = False
    .PrintOut
End With