Method CopyTo
- Namespace
- SharpVectors.Renderers.Wpf
- Assembly
- SharpVectors.Rendering.Wpf.dll
CopyTo(DrawingGroup[], int)
Copies the drawing stack to an existing one-dimensional array, starting at the specified array index.
public void CopyTo(DrawingGroup[] array, int arrayIndex)
Parameters
arrayDrawingGroup[]The one-dimensional System.Array that is the destination of the elements copied from drawing stack. The array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.
Exceptions
- ArgumentNullException
If
arrayis null.- ArgumentOutOfRangeException
arrayIndexis less than zero.- ArgumentException
arrayIndexis equal to or greater than the length of array.-or-
The number of elements in the source drawing stack is greater than the available space fromarrayIndexto the end of the destination array.