ChartDirector 5.1 (.NET Edition)

Chart.arraySlice


Usage

[VB] Public Shared Function arraySlice(a As Array, startIndex As Integer, len As Integer) As Array
[C#] public static Array arraySlice(Array a, int startIndex, int len);

Description

Creates a new array with the elements copied from a part of a given array.

Arguments

ArgumentDefaultDescription
a(Mandatory)The array to be copied.
startIndex(Mandatory)The array index to start copying from.
len(Mandatory)The number of elements to copy.

Return Value

A new array with the elements copied from a part of a given array.