IMathElementSetSubSuperscriptOnTheLeft Method (IMathElement, IMathElement)

Creates subscript and superscript on the left

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

Parameters

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

Return Value

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