TFPointList.Add

TFPointList

  Classes Reference > List Classes > TFPointList > Methods >

TFPointList.Add

TFPointList

Previous pageReturn to chapter overviewNext page

Inserts a new item at the end of the list.

Syntax

function Add(const Item: TFPoint): Integer;

Description

Call Add to insert a new object at the end of the Items array. Add returns the index of the new item, where the first item in the list has an index of 0. Add increments Count and, if necessary, allocates memory by increasing the value of Capacity.

Go to CAD VCL Enterprise