MathElementBaseSetSubscript Method (String)

Creates subscript

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntax
public IMathSubscriptElement SetSubscript(
	string subscript
)

Parameters

subscript
Type: SystemString
Subscript (lower index on the right)

Return Value

Type: IMathSubscriptElement
New math element of type IMathSubscriptElement

Implements

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