SetSuperscript

SetSuperscript(IMathElement)

Crée un exposant

public IMathSuperscriptElement SetSuperscript(IMathElement superscript)
ParamètreTypeDescription
superscriptIMathElementExposant (indice supérieur à droite)

Valeur de retour

Nouvel élément mathématique de type IMathSuperscriptElement

Exemples

Exemple :

[C#]
IMathElement element = new MathematicalText("N");
IMathElement index = new MathematicalText("4");
IMathSuperscriptElement superscript = element.SetSuperscript(index);

Voir aussi


SetSuperscript(string)

Crée un exposant

public IMathSuperscriptElement SetSuperscript(string superscript)
ParamètreTypeDescription
superscriptStringExposant (indice supérieur à droite)

Valeur de retour

Nouvel élément mathématique de type IMathSuperscriptElement

Exemples

Exemple :

[C#]
IMathElement element = new MathematicalText("N");
IMathSuperscriptElement superscript = element.SetSuperscript("4");

Voir aussi