ChartDirector 5.1 (.NET Edition)

ArrayMath.trim


Usage

[VB] Public Function trim([ startIndex As Integer [, len As Integer ]]) As ArrayMath
[C#] public ArrayMath trim([ int startIndex [, int len ]]);

Description

Trims the ArrayMath object by keeping only some elements in the middle.

Arguments

ArgumentDefaultDescription
startIndex0The index for the first element to keep.
len-1The number of elements to keep. -1 means keeping all elements from the startIndex to the end of the array.

Return Value

The current ArrayMath object.