RemoveAt
IMathElementCollection.RemoveAt method
Удаляет элемент по указанному индексу коллекции.
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);
Смотрите также
- interface IMathElementCollection
- пространство имен Aspose.Slides.MathText
- сборка Aspose.Slides