PrintXMLTag Property

Microsoft Word Visual Basic

PrintXMLTag Property

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. True indicates that tags are printed. False indicates tags are not printed.

expression.PrintXMLTag

expression    Required. An expression that returns an Options object.

Example

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

    Options.PrintXMLTag = True