SetUpperLimit()

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

Takes upper limit

System::SharedPtr<IMathLimit> Aspose::Slides::MathText::MathElementBase::SetUpperLimit(System::SharedPtr<IMathElement> limit) override

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

MathElementBase::SetUpperLimit(System::String) method

Takes upper limit

System::SharedPtr<IMathLimit> Aspose::Slides::MathText::MathElementBase::SetUpperLimit(System::String limit) override

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