CopyTo
MathBlock.CopyTo method
In angegebenes Array kopieren.
public void CopyTo(IMathElement[] array, int arrayIndex)
Parameter | Typ | Beschreibung |
---|---|---|
array | IMathElement[] | Array, in das kopiert werden soll. |
arrayIndex | Int32 | Index, um mit dem Kopieren zu beginnen. |
Beispiele
Beispiel:
[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);
Siehe auch
- interface IMathElement
- class MathBlock
- namensraum Aspose.Slides.MathText
- Montage Aspose.Slides