Integral()

IMathElement::Integral(MathIntegralTypes, System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>, MathLimitLocations) method

Takes the integral

virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Integral(MathIntegralTypes integralType, System::SharedPtr<IMathElement> lowerLimit, System::SharedPtr<IMathElement> upperLimit, MathLimitLocations limitLocations)=0

Arguments

ParameterTypeDescription
integralTypeMathIntegralTypesIntegral type
lowerLimitSystem::SharedPtr<IMathElement>Lower limit of integral
upperLimitSystem::SharedPtr<IMathElement>Upper limit of integral
limitLocationsMathLimitLocationslocation of limits

Return Value

New instance of type IMathNaryOperator

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"\U0001d465");
auto lowerLimit = System::MakeObject<MathematicalText>(u"1");
auto upperLimit = System::MakeObject<MathematicalText>(u"2");
auto integral = baseElement->Integral(Aspose::Slides::MathText::MathIntegralTypes::Simple, lowerLimit, upperLimit, Aspose::Slides::MathText::MathLimitLocations::UnderOver);

IMathElement::Integral(MathIntegralTypes, System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) method

Takes the integral

virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Integral(MathIntegralTypes integralType, System::SharedPtr<IMathElement> lowerLimit, System::SharedPtr<IMathElement> upperLimit)=0

Arguments

ParameterTypeDescription
integralTypeMathIntegralTypesIntegral type
lowerLimitSystem::SharedPtr<IMathElement>Lower limit of integral
upperLimitSystem::SharedPtr<IMathElement>Upper limit of integral

Return Value

New instance of type IMathNaryOperator

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"\U0001d465");
auto lowerLimit = System::MakeObject<MathematicalText>(u"1");
auto upperLimit = System::MakeObject<MathematicalText>(u"2");
auto integral = baseElement->Integral(Aspose::Slides::MathText::MathIntegralTypes::Simple, lowerLimit, upperLimit, Aspose::Slides::MathText::MathLimitLocations::UnderOver);

IMathElement::Integral(MathIntegralTypes) method

Takes the integral without limits

virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Integral(MathIntegralTypes integralType)=0

Arguments

ParameterTypeDescription
integralTypeMathIntegralTypesIntegral type

Return Value

New instance of type IMathNaryOperator

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"\U0001d465");
auto integral = baseElement->Integral(Aspose::Slides::MathText::MathIntegralTypes::Contour);

IMathElement::Integral(MathIntegralTypes, System::String, System::String, MathLimitLocations) method

Takes the integral

virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Integral(MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit, MathLimitLocations limitLocations)=0

Arguments

ParameterTypeDescription
integralTypeMathIntegralTypesIntegral type
lowerLimitSystem::StringLower limit of integral
upperLimitSystem::StringUpper limit of integral
limitLocationsMathLimitLocationslocation of limits

Return Value

New instance of type IMathNaryOperator

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"\U0001d465");
auto integral = baseElement->Integral(Aspose::Slides::MathText::MathIntegralTypes::Simple, u"1", u"5", Aspose::Slides::MathText::MathLimitLocations::UnderOver);

IMathElement::Integral(MathIntegralTypes, System::String, System::String) method

Takes the integral

virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Integral(MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit)=0

Arguments

ParameterTypeDescription
integralTypeMathIntegralTypesIntegral type
lowerLimitSystem::StringLower limit of integral
upperLimitSystem::StringUpper limit of integral

Return Value

New instance of type IMathNaryOperator

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"\U0001d465");
auto integral = baseElement->Integral(Aspose::Slides::MathText::MathIntegralTypes::Simple, u"1", u"5");

See Also