Share via


View.ShowXMLMarkup Property (Word)

Returns a Long that represents whether XML tags are visible in a document.

Syntax

expression .ShowXMLMarkup

expression An expression that returns a View object.

Remarks

True indicates that tags are visible. False indicates that tags are hidden. wdToggle allows you to switch between showing and hiding the XML markup.

Example

The following example switches between showing and hiding the XML markup in the active document.

ActiveDocument.ActiveWindow.View.ShowXMLMarkup = wdToggle

See Also

Concepts

View Object

View Object Members