Add

IMathElementCollection.Add method

Fügt ein mathematisches Element am Ende der Sammlung hinzu.

public void Add(IMathElement item)
ParameterTypBeschreibung
itemIMathElementDas IMathElement, das am Ende der Auflistung hinzugefügt werden soll.

Beispiele

Beispiel:

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

Siehe auch