ActiveReports 8
CopyTo Method
See Also 
GrapeCity.ActiveReports.Chart.v8 Assembly > GrapeCity.ActiveReports.Chart Namespace > LegendItemsCollection Class : CopyTo Method

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.

Glossary Item Box

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

Syntax

Visual Basic (Declaration) 
Public Sub CopyTo( _
   ByVal array() As LegendItem, _
   ByVal index As System.Integer _
) 
C# 
public void CopyTo( 
   LegendItem[] array,
   System.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

`

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also