This documentation is archived and is not being maintained.

Selection.WordOpenXML Property

Returns a String that represents the XML contained within the selection in the Microsoft Office Word Open XML format. Read-only.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

string WordOpenXML { get; }

Property Value

Type: System.String

This property returns only the XML in the document that is needed to represent the specified selection.