Add

MathBlock.Add method

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

public void Add(IMathElement item)
ParamètreTypeDescription
itemIMathElementL’IMathElement à 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 aussi