SetSuperscript
Contents
[
Hide
]SetSuperscript(IMathElement)
Creates superscript
public IMathSuperscriptElement SetSuperscript(IMathElement superscript)
Parameter | Type | Description |
---|---|---|
superscript | IMathElement | Superscript (upper index on the right) |
Return Value
New math element of type IMathSuperscriptElement
Examples
Example:
[C#]
IMathElement element = new MathematicalText("N");
IMathElement index = new MathematicalText("4");
IMathSuperscriptElement superscript = element.SetSuperscript(index);
See Also
- interface IMathSuperscriptElement
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
SetSuperscript(string)
Creates superscript
public IMathSuperscriptElement SetSuperscript(string superscript)
Parameter | Type | Description |
---|---|---|
superscript | String | Superscript (upper index on the right) |
Return Value
New math element of type IMathSuperscriptElement
Examples
Example:
[C#]
IMathElement element = new MathematicalText("N");
IMathSuperscriptElement superscript = element.SetSuperscript("4");
See Also
- interface IMathSuperscriptElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides