ILanerSeries.MoveByKey

Syntax

MoveByKey(SourceKey: Integer; DestinationKey: Integer; [MoveAfter: Boolean = True]);

Parameters

SourceKey is the series key of the series being moved.

DestinationKey is the key of the series, relative to the position of which the initial series needs to be moved.

MoveAfter is the parameter determining the order of the series movement. Optional parameter. The default value is True.

Description

The MoveByKey method moves the series in the collection by their keys. The series movement depends on the MoveAfter parameter. If the parameter value is True, the series with the SourceKey key is placed after the series with the DestinationKey key. If the MoveAfter parameter value is False, the series with the SourceKey key is placed before the series with the DestinationKey key.

See also:

ILanerSeries