MathElementBaseSetSubSuperscriptOnTheRight Method (IMathElement, IMathElement)

Creates subscript and superscript on the right

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntax
public 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

Implements

IMathElementSetSubSuperscriptOnTheRight(IMathElement, IMathElement)
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