Table of Contents

Method BuildUpEquation

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

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

document WordDocument

The document that holds the equation.

equation OfficeMath

The 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.