MathElementBaseSetSubscript Method (IMathElement)

Creates subscript

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

Implements

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