Skip to main content

ApiMath

Class representing a mathematical equation.

Methods​

The following table lists the available methods.

MethodReturnsDescription
GetClassType"math"Returns a type of the ApiMath class.
GetParentParagraphLikeContainer | null | undefinedReturns the parent element (a paragraph or an inline content control) that directly contains the current math element.
GetPosInParentNumberReturns the position (index) of the current math element within its parent element.
GetTextstringReturns the inner text of the current math element.