Add

IMathElementCollection.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#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
collection.Add(new MathematicalText("+"));
collection.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));

Ver también