IMathElementIntegral Method (MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)

Takes the integral

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathNaryOperator Integral(
	MathIntegralTypes integralType,
	IMathElement lowerLimit,
	IMathElement upperLimit,
	MathLimitLocations limitLocations
)

Parameters

integralType
Type: Aspose.Slides.MathTextMathIntegralTypes
Integral type
lowerLimit
Type: Aspose.Slides.MathTextIMathElement
Lower limit of integral
upperLimit
Type: Aspose.Slides.MathTextIMathElement
Upper limit of integral
limitLocations
Type: Aspose.Slides.MathTextMathLimitLocations
location of limits

Return Value

Type: IMathNaryOperator
New instance of type IMathNaryOperator
Examples
Example:
[C#]
IMathElement baseElement = new MathematicalText("𝑥");
IMathElement lowerLimit = new MathematicalText("1");
IMathElement upperLimit = new MathematicalText("2");
IMathNaryOperator integral = baseElement.Integral(MathIntegralTypes.Simple, lowerLimit, upperLimit, MathLimitLocations.UnderOver);
See Also