CopyTo
IMathElementCollection.CopyTo method
Copiar al array especificado.
public void CopyTo(IMathElement[] array, int arrayIndex)
Parámetro | Tipo | Descripción |
---|---|---|
array | IMathElement[] | Array al que copiar. |
arrayIndex | Int32 | Índice para comenzar a copiar. |
Ejemplos
Ejemplo:
[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);
Ver También
- interface IMathElement
- interface IMathElementCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides