MathSuperscriptElement()

MathSuperscriptElement::MathSuperscriptElement(System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) constructor

Initializes a new instance of the MathSuperscriptElement class.

Aspose::Slides::MathText::MathSuperscriptElement::MathSuperscriptElement(System::SharedPtr<IMathElement> baseArg, System::SharedPtr<IMathElement> superScript)

Remarks

Example:

System::SharedPtr<IMathElement> baseElement = System::MakeObject<MathematicalText>(u"X");
System::SharedPtr<IMathElement> superscript = System::MakeObject<MathematicalText>(u"i");
auto superscriptElement = System::MakeObject<MathSuperscriptElement>(baseElement, superscript);

See Also