SetSuperscript

SetSuperscript(IMathElement)

Crea superíndices

public IMathSuperscriptElement SetSuperscript(IMathElement superscript)
ParámetroTipoDescripción
superscriptIMathElementSuperíndice (índice superior a la derecha)

Valor de retorno

Nuevo elemento matemático del tipo IMathSuperscriptElement

Ejemplos

Ejemplo:

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

Ver También


SetSuperscript(string)

Crea superíndices

public IMathSuperscriptElement SetSuperscript(string superscript)
ParámetroTipoDescripción
superscriptStringSuperíndice (índice superior a la derecha)

Valor de retorno

Nuevo elemento matemático del tipo IMathSuperscriptElement

Ejemplos

Ejemplo:

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

Ver También