CopyTo
IMathElementCollection.CopyTo method
Копировать в указанный массив.
public void CopyTo(IMathElement[] array, int arrayIndex)
Параметр | Тип | Описание |
---|---|---|
array | IMathElement[] | Массив для копирования. |
arrayIndex | Int32 | Индекс для начала копирования. |
Примеры
Пример:
[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
collection.Add(plusElement);
collection.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
IMathElement[] destinationArray = new IMathElement[collection.Count];
collection.CopyTo(destinationArray, 0);
Смотрите также
- interface IMathElement
- interface IMathElementCollection
- пространство имен Aspose.Slides.MathText
- сборка Aspose.Slides