SetSubSuperscriptOnTheRight()
Contents
[
Hide
]MathElementBase::SetSubSuperscriptOnTheRight(System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) method
Creates subscript and superscript on the right
System::SharedPtr<IMathRightSubSuperscriptElement> Aspose::Slides::MathText::MathElementBase::SetSubSuperscriptOnTheRight(System::SharedPtr<IMathElement> subscript, System::SharedPtr<IMathElement> superscript) override
Arguments
Parameter | Type | Description |
---|---|---|
subscript | System::SharedPtr<IMathElement> | Subscript (lower index on the right) |
superscript | System::SharedPtr<IMathElement> | Superscript (upper index on the right) |
Return Value
New math element of type IMathRightSubSuperscriptElement
Remarks
Example:
auto baseElement = System::MakeObject<MathematicalText>(u"N");
auto subscript = System::MakeObject<MathematicalText>(u"i");
auto superscript = System::MakeObject<MathematicalText>(u"j");
auto subsuperscript = baseElement->SetSubSuperscriptOnTheRight(subscript, superscript);
MathElementBase::SetSubSuperscriptOnTheRight(System::String, System::String) method
Creates subscript and superscript on the right
System::SharedPtr<IMathRightSubSuperscriptElement> Aspose::Slides::MathText::MathElementBase::SetSubSuperscriptOnTheRight(System::String subscript, System::String superscript) override
Arguments
Parameter | Type | Description |
---|---|---|
subscript | System::String | Subscript (lower index on the right) |
superscript | System::String | Superscript (upper index on the right) |
Return Value
New math element of type IMathRightSubSuperscriptElement
Remarks
Example:
auto baseElement = System::MakeObject<MathematicalText>(u"N");
auto subsuperscript = baseElement->SetSubSuperscriptOnTheRight(u"i", u"j");
See Also
- Typedef SharedPtr
- Class IMathRightSubSuperscriptElement
- Class IMathElement
- Class MathElementBase
- Class String
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides