Nary()
Contents
[
Hide
]IMathElement::Nary(MathNaryOperatorTypes, System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) method
Creates a N-ary operator
virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Nary(MathNaryOperatorTypes type, System::SharedPtr<IMathElement> lowerLimit, System::SharedPtr<IMathElement> upperLimit)=0
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:
System::SharedPtr<IMathElement> baseElement = System::MakeObject<MathematicalText>(u"i-1");
System::SharedPtr<IMathElement> lowerLimit = System::MakeObject<MathematicalText>(u"i=0");
System::SharedPtr<IMathElement> upperLimit = System::MakeObject<MathematicalText>(u"\U0001d45b");
auto naryOperator = baseElement->Nary(Aspose::Slides::MathText::MathNaryOperatorTypes::Summation, lowerLimit, upperLimit);
IMathElement::Nary(MathNaryOperatorTypes, System::String, System::String) method
Creates a N-ary operator
virtual System::SharedPtr<IMathNaryOperator> Aspose::Slides::MathText::IMathElement::Nary(MathNaryOperatorTypes type, System::String lowerLimit, System::String upperLimit)=0
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"\U0001d45b");
See Also
- Enum MathNaryOperatorTypes
- Typedef SharedPtr
- Class IMathNaryOperator
- Class IMathElement
- Class String
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides