Options.PrintXMLTag Property

Word Developer Reference

Returns a Boolean that represents whether to print the XML tags when printing a document. Corresponds to the XML tags check box on the Print tab in the Options dialog box. .

Syntax

expression.PrintXMLTag

expression   An expression that returns an Options object.

Remarks

True indicates that tags are printed. False indicates tags are not printed.

Example

The following example specifies that when documents are printed tags will also be printed.

Visual Basic for Applications
  Options.PrintXMLTag = True

See Also