Add

IMathElementCollection.Add метод

Добавляет математический элемент в конец коллекции.

public void Add(IMathElement item)
ПараметрТипОписание
itemIMathElementIMathElement, который будет добавлен в конец коллекции.

Примеры

Пример:

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

Смотрите также