MathElementBaseSetSuperscript Method (String)

Creates superscript

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntax
public IMathSuperscriptElement SetSuperscript(
	string superscript
)

Parameters

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

Return Value

Type: IMathSuperscriptElement
New math element of type IMathSuperscriptElement

Implements

IMathElementSetSuperscript(String)
Examples
Example:
[C#]
IMathElement element = new MathematicalText("N");
IMathSuperscriptElement superscript = element.SetSuperscript("4");
See Also