ActiveReports 12
CopyTo Method (LegendItemsCollection)

GrapeCity.ActiveReports.Chart.v12 Assembly > GrapeCity.ActiveReports.Chart Namespace > LegendItemsCollection Class : CopyTo Method
The one-dimensional array that is the destination of the LegendItems copied from the collection. The array must have zero-based indexing.
The zero-based index in the array at which copying begins.
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As LegendItem, _
   ByVal index As Integer _
) 
public void CopyTo( 
   LegendItem[] array,
   int index
)

Parameters

array
The one-dimensional array that is the destination of the LegendItems copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.

Return Value

`
See Also

Reference

LegendItemsCollection Class
LegendItemsCollection Members