API Reference
Class
WordEquation
Encapsulates a mathematical equation contained in a paragraph. Provides access to the underlying Open XML elements so the equation can be removed from the document when required.
Inheritance
- WordElement
- WordEquation
Constructors
WordEquation 3 overloads
public WordEquation(WordDocument document, Paragraph paragraph, Paragraph mathParagraph) #Initializes a new instance of the WordEquation class using the specified document, paragraph, and officeMath equation element.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent Word document.
- paragraph DocumentFormat.OpenXml.Wordprocessing.Paragraph
- Paragraph that contains the equation.
- officeMath DocumentFormat.OpenXml.Math.OfficeMath
- Math equation element.
WordEquation(OfficeIMO.Word.WordDocument document, DocumentFormat.OpenXml.Wordprocessing.Paragraph paragraph, DocumentFormat.OpenXml.Math.Paragraph mathParagraph) #Initializes a new instance of the WordEquation class using the specified document, paragraph, and mathParagraph paragraph element.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent Word document.
- paragraph DocumentFormat.OpenXml.Wordprocessing.Paragraph
- Paragraph that contains the equation.
- mathParagraph DocumentFormat.OpenXml.Math.Paragraph
- Paragraph element representing the equation.
public WordEquation(WordDocument document, Paragraph paragraph, OfficeMath officeMath, Paragraph mathParagraph) #Initializes a new instance of the WordEquation class using both math equation elements: officeMath and mathParagraph.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent Word document.
- paragraph DocumentFormat.OpenXml.Wordprocessing.Paragraph
- Paragraph that contains the equation.
- officeMath DocumentFormat.OpenXml.Math.OfficeMath
- Math equation element.
- mathParagraph DocumentFormat.OpenXml.Math.Paragraph
- Paragraph element representing the equation.
Methods
public Void Remove() #Returns:
VoidRemoves the equation from the document by deleting the underlying Open XML elements.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object