Method BuildUpEquation
BuildUpEquation(WordDocument, OfficeMath)
Shows an equation in Professional form, as Word's Convert > Professional does (Phase 177, WQ-0158): the linear text in each line's runs is built up into structures (FromLinearText(string, bool)'s rules); the structures a line already has stay, and text that builds into no structure stays as it is.
public static EquationEdit BuildUpEquation(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.