IMathElementSetSubscript Method (IMathElement)

Creates subscript

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathSubscriptElement SetSubscript(
	IMathElement subscript
)

Parameters

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

Return Value

Type: IMathSubscriptElement
New math element of type IMathSubscriptElement
Examples
Example:
[C#]
IMathElement element = new MathematicalText("N");
IMathElement index = new MathematicalText("i");
IMathSubscriptElement subscript = element.SetSubscript(index);
See Also