TFPointList.Insert

TFPointList

  Classes Reference > List Classes > TFPointList > Methods >

TFPointList.Insert

TFPointList

Previous pageReturn to chapter overviewNext page

Adds an object to the Items array at the position specified by Index.

Syntax

procedure Insert(Index: Integer; const Item: TFPoint);

Description

Call Insert to add Item to the middle of the Items array. The Index parameter is a zero-based index, so the first position in the array has an index of 0. Insert adds the item at the indicated position, shifting the item that previously occupied that position, and all subsequent items, up. Insert increments Count and, if necessary, allocates memory by increasing the value of Capacity.

Go to CAD VCL Enterprise