Nary()
Contents
[
Hide
]MathElementBase::Nary(MathNaryOperatorTypes, System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) method
Creates a N-ary operator
System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Nary(MathNaryOperatorTypes type, System::SharedPtr<IMathElement> lowerLimit, System::SharedPtr<IMathElement> upperLimit) override
Arguments
Parameter | Type | Description |
---|---|---|
type | MathNaryOperatorTypes | The N-ary operator type |
lowerLimit | System::SharedPtr<IMathElement> | The lower limit |
upperLimit | System::SharedPtr<IMathElement> | The upper limit |
Return Value
New instance of type IMathNaryOperator
Remarks
Example:
auto baseElement = System::MakeObject<MathematicalText>(u"i-1");
auto lowerLimit = System::MakeObject<MathematicalText>(u"i=0");
auto upperLimit = System::MakeObject<MathematicalText>(u"\U0001d465");
auto naryOperator = baseElement->Nary(Aspose::Slides::MathText::MathNaryOperatorTypes::Summation, lowerLimit, upperLimit);
MathElementBase::Nary(MathNaryOperatorTypes, System::String, System::String) method
Creates a N-ary operator
System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::MathElementBase::Nary(MathNaryOperatorTypes type, System::String lowerLimit, System::String upperLimit) override
Arguments
Parameter | Type | Description |
---|---|---|
type | MathNaryOperatorTypes | The N-ary operator type |
lowerLimit | System::String | The lower limit |
upperLimit | System::String | The upper limit |
Return Value
New instance of type IMathNaryOperator
Remarks
Example:
auto naryOperator = System::MakeObject<MathematicalText>(u"i")->Nary(Aspose::Slides::MathText::MathNaryOperatorTypes::Summation, u"i=0", u"\U0001d465");
See Also
- Enum MathNaryOperatorTypes
- Typedef SharedPtr
- Class IMathNaryOperator
- Class IMathElement
- Class MathElementBase
- Class String
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides