MathElementBaseSetSuperscript Method (String) |
Creates superscript
Namespace:
Aspose.Slides.MathText
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntaxpublic IMathSuperscriptElement SetSuperscript(
string superscript
)
Public Function SetSuperscript (
superscript As String
) As IMathSuperscriptElement
public:
virtual IMathSuperscriptElement^ SetSuperscript(
String^ superscript
) sealed
abstract SetSuperscript :
superscript : string -> IMathSuperscriptElement
override SetSuperscript :
superscript : string -> IMathSuperscriptElement
Parameters
- superscript
- Type: SystemString
Superscript (upper index on the right)
Return Value
Type:
IMathSuperscriptElementNew math element of type
IMathSuperscriptElementImplements
IMathElementSetSuperscript(String)
ExamplesExample:
[C#]
IMathElement element = new MathematicalText("N");
IMathSuperscriptElement superscript = element.SetSuperscript("4");
See Also