Collapse the table of content
Expand the table of content
Expand Minimize

Options.PrintXMLTag Property (Word)

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. .

expression .PrintXMLTag

expression An expression that returns an Options object.

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

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

Options.PrintXMLTag = True
© 2015 Microsoft