API Reference
Class
WordXmlExtensions
Provides serialization helpers for Word elements.
Inheritance
- Object
- WordXmlExtensions
Methods
public static WordParagraph AddParagraphFromXml(WordDocument document, String xml) #Returns:
WordParagraphCreates a WordParagraph from the provided XML string and appends it to the document.
Parameters
- document OfficeIMO.Word.WordDocument
- Target document.
- xml System.String
- XML string representing a paragraph.
Returns
The inserted WordParagraph.
public static String ToXml(WordParagraph paragraph) #Returns:
StringReturns the raw Open XML string representing the paragraph.
Parameters
- paragraph OfficeIMO.Word.WordParagraph
- Paragraph to convert.
Returns
Outer XML of the underlying Open XML element.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object