ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Chart 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.

In This Topic
    CopyTo Method (LegendItemsCollection)
    In This Topic
    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