SetUpperLimit()

IMathElement::SetUpperLimit(System::SharedPtr<IMathElement>) method

Takes upper limit

virtual System::SharedPtr<IMathLimit> Aspose::Slides::MathText::IMathElement::SetUpperLimit(System::SharedPtr<IMathElement> limit)=0

Arguments

ParameterTypeDescription
limitSystem::SharedPtr<IMathElement>limit

Return Value

New instance of type IMathLimit

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"y");
auto limitValue = System::MakeObject<MathematicalText>(u"y?>1");
auto limitElement = baseElement->SetUpperLimit(limitValue);

IMathElement::SetUpperLimit(System::String) method

Takes upper limit

virtual System::SharedPtr<IMathLimit> Aspose::Slides::MathText::IMathElement::SetUpperLimit(System::String limit)=0

Arguments

ParameterTypeDescription
limitSystem::Stringlimit

Return Value

New instance of type IMathLimit

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"y");
auto limitElement = baseElement->SetUpperLimit(u"y?>1");

See Also