ChartDirector 7.1 (.NET Edition)

Chart.arraySlice


Usage

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

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.