IMathElementNary Method (MathNaryOperatorTypes, IMathElement, IMathElement)

Creates a N-ary operator

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathNaryOperator Nary(
	MathNaryOperatorTypes type,
	IMathElement lowerLimit,
	IMathElement upperLimit
)

Parameters

type
Type: Aspose.Slides.MathTextMathNaryOperatorTypes
The N-ary operator type
lowerLimit
Type: Aspose.Slides.MathTextIMathElement
The lower limit
upperLimit
Type: Aspose.Slides.MathTextIMathElement
The upper limit

Return Value

Type: IMathNaryOperator
New instance of type IMathNaryOperator
Examples
Example:
[C#]
IMathElement baseElement = new MathematicalText("i-1");
IMathElement lowerLimit = new MathematicalText("i=0");
IMathElement upperLimit = new MathematicalText("𝑛");
IMathNaryOperator naryOperator = baseElement.Nary(MathNaryOperatorTypes.Summation, lowerLimit, upperLimit);
See Also