IMathNaryOperator

All Implemented Interfaces: com.aspose.slides.IMathElement, com.aspose.slides.IMathNaryOperatorProperties

public interface IMathNaryOperator extends IMathElement, IMathNaryOperatorProperties

Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");

Methods

MethodDescription
getBase()Base argument
getSubscript()Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
getSuperscript()Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit

getBase()

public abstract IMathElement getBase()

Base argument


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 IMathElement baseArg = naryOperator.getBase();

Returns: IMathElement

getSubscript()

public abstract IMathElement getSubscript()

Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 IMathElement subscriptArg = naryOperator.getSubscript();

Returns: IMathElement

getSuperscript()

public abstract IMathElement getSuperscript()

Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 IMathElement superscriptArg = naryOperator.getSuperscript();

Returns: IMathElement