CopyTo
IMathElementCollection.CopyTo méthode
Copier dans le tableau spécifié.
public void CopyTo(IMathElement[] array, int arrayIndex)
Paramètre | Type | Description |
---|---|---|
array | IMathElement[] | Tableau dans lequel copier. |
arrayIndex | Int32 | Index à partir duquel commencer la copie. |
Exemples
Exemple :
[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);
Voir Aussi
- interface IMathElement
- interface IMathElementCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides