Table of Contents

Method LinearizeEquation

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

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

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.