Add

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

Siehe auch