Add

IMathElementCollection.Add method

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

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

Примеры

Пример:

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

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