IMathElementSetSuperscript Method (String)

Creates superscript

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathSuperscriptElement SetSuperscript(
	string superscript
)

Parameters

superscript
Type: SystemString
Superscript (upper index on the right)

Return Value

Type: IMathSuperscriptElement
New math element of type IMathSuperscriptElement
Examples
Example:
[C#]
IMathElement element = new MathematicalText("N");
IMathSuperscriptElement superscript = element.SetSuperscript("4");
See Also