[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Selection.CopyTo

CopyTo Method

CopyTo(Array, int)

Copies the elements of the current selection into an array, starting at a particular array index.

Declaration
public void CopyTo(Array array, int index)
Parameters
Type Name Description
Array array

The one-dimensional array that is the destination of the elements copied from the current selection. The array must have zero-based indexing.

int index

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

Implements
Remarks

This method is used to copy the currently selected components within the designer environment to a specified array, starting at a particular index. It is useful for operations that require processing or manipulation of the selected components outside the context of the selection service. The method ensures that the elements are copied in a manner that respects the order in which they are currently selected.