IMathElementSetSubSuperscriptOnTheRight Method (IMathElement, IMathElement)

Creates subscript and superscript on the right

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathRightSubSuperscriptElement SetSubSuperscriptOnTheRight(
	IMathElement subscript,
	IMathElement superscript
)

Parameters

subscript
Type: Aspose.Slides.MathTextIMathElement
Subscript (lower index on the right)
superscript
Type: Aspose.Slides.MathTextIMathElement
Superscript (upper index on the right)

Return Value

Type: IMathRightSubSuperscriptElement
New math element of type IMathRightSubSuperscriptElement
Examples
Example:
[C#]
IMathElement baseElement = new MathematicalText("N");
IMathElement subscript = new MathematicalText("i");
IMathElement superscript = new MathematicalText("j");
IMathRightSubSuperscriptElement subsuperscript = baseElement.SetSubSuperscriptOnTheRight(subscript, superscript);
See Also