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

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.

Options.PrintXMLTag = True

See also

Options Object

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.