Table of Contents

Constructor MathPosition

Namespace
DocWright.Dom.Equations
Assembly
DocWright.Dom.dll

MathPosition(OfficeMath, IReadOnlyList<int>, int)

Initializes a position and checks that it names a slot of the equation as it is now.

public MathPosition(OfficeMath equation, IReadOnlyList<int> path, int offset)

Parameters

equation OfficeMath

The equation.

path IReadOnlyList<int>

The slot's path (see the remarks).

offset int

The offset into the slot, 0 to its length.

Exceptions

ArgumentNullException

equation or path is null.

ArgumentOutOfRangeException

The path names no slot of the equation, or the offset is outside the slot.