Constructor MathPosition
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
equationOfficeMathThe equation.
pathIReadOnlyList<int>The slot's path (see the remarks).
offsetintThe offset into the slot, 0 to its length.
Exceptions
- ArgumentNullException
equationorpathis null.- ArgumentOutOfRangeException
The path names no slot of the equation, or the offset is outside the slot.