Method LinearizeEquation
LinearizeEquation(WordDocument, OfficeMath)
Shows an equation in Linear form, as Word's Convert > Linear does (Phase 177, WQ-0158): each line becomes its linear text (UnicodeMath), followed by the space Word writes after it, in one run.
public static EquationEdit LinearizeEquation(this WordDocument document, OfficeMath equation)
Parameters
documentWordDocumentThe document that holds the equation.
equationOfficeMathThe equation.
Returns
- EquationEdit
The edit; After is the end of the first line.
Exceptions
- ArgumentNullException
An argument is null.
- ArgumentException
The equation is not in
document, or is not in a paragraph.