Table of Contents

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

array DrawingGroup[]

The one-dimensional System.Array that is the destination of the elements copied from drawing stack. The array must have zero-based indexing.

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

If array is null.

ArgumentOutOfRangeException

arrayIndex is less than zero.

ArgumentException

arrayIndex is 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 from arrayIndex to the end of the destination array.