Integral()

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

Takes the integral

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

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);

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

Takes the integral

System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Integral(MathIntegralTypes integralType, System::SharedPtr<IMathElement> lowerLimit, System::SharedPtr<IMathElement> upperLimit) override

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"?\?");
auto lowerLimit = System::MakeObject<MathematicalText>(u"1");
auto upperLimit = System::MakeObject<MathematicalText>(u"2");
auto integral = baseElement->Integral(MathIntegralTypes::Simple, lowerLimit, upperLimit, MathLimitLocations::UnderOver);

MathElementBase::Integral(MathIntegralTypes) method

Takes the integral without limits

System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Integral(MathIntegralTypes integralType) override

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);

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

Takes the integral

System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Integral(MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit, MathLimitLocations limitLocations) override

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);

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

Takes the integral

System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Integral(MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit) override

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