RemoveAt
IMathElementCollection.RemoveAt метод
Удаляет элемент по указанному индексу коллекции.
public void RemoveAt(int index)
Параметр | Тип | Описание |
---|---|---|
index | Int32 | Нулевой индекс элемента, который необходимо удалить. |
Примеры
Пример:
[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
collection.Add(plusElement);
collection.Insert(0, new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
collection.RemoveAt(2);
См. также
- интерфейс IMathElementCollection
- пространство имен Aspose.Slides.MathText
- сборка Aspose.Slides