Add

MathBlock.Add method

Ajoute un élément mathématique à la fin de la collection.

public void Add(IMathElement item)
ParamètreTaperLa description
itemIMathElementIMathElement à ajouter à la fin de la collection.

Exemples

Exemple :

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

Voir également