Table of Contents

Method OffsetOf

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

OffsetOf(MathArgument, int)

The offset at which an element of a slot starts.

public static int OffsetOf(MathArgument slot, int elementIndex)

Parameters

slot MathArgument

The slot.

elementIndex int

The element's index, or the element count for the slot's end.

Returns

int

The offset.

Exceptions

ArgumentNullException

slot is null.

ArgumentOutOfRangeException

elementIndex is outside 0 to the element count.