CopyTo
MathBlock.CopyTo méthode
Copier dans un 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 à copier. |
Exemples
Exemple:
[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
mathBlock.Add(plusElement);
mathBlock.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
IMathElement[] destinationArray = new IMathElement[mathBlock.Count];
mathBlock.CopyTo(destinationArray, 0);
Voir Aussi
- interface IMathElement
- class MathBlock
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides