Add

MathBlock.Add method

Agrega un elemento matemático al final de la colección.

public void Add(IMathElement item)
ParámetroEscribeDescripción
itemIMathElementEl IMathElement que se agregará al final de la colección.

Ejemplos

Ejemplo:

[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
mathBlock.Add(new MathematicalText("+"));
mathBlock.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));

Ver también