Skip to main content
Table of Contents

TTMSFNCMapsRectangles.Insert Method

Creates and returns a new collection item at the specified index.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMapsRectangles Inherited from: TTMSFNCMapsCustomPolygons, TTMSFNCMapsPolyElements

Overloads

Overload 1

Creates and returns a new collection item at the specified index.

FMX.TMSFNCMaps.hppPascalC++
function Insert(Index: Integer): TTMSFNCMapsPolyElement;
HIDESBASE TTMSFNCMapsCustomPolygon* __fastcall Insert(int Index);

Parameters

Name Description
Index Zero-based item index.

Returns

Value returned by the function.

Overload 2

Creates and returns a new collection item at the specified index.

FMX.TMSFNCMaps.hppPascalC++
function Insert(Index: Integer): TTMSFNCMapsCustomPolygon;
HIDESBASE TTMSFNCMapsCustomPolygon* __fastcall Insert(int Index);

Parameters

Name Description
Index Zero-based item index.

Returns

Value returned by the function.

Overload 3

Creates and returns a new collection item at the specified index.

FMX.TMSFNCMaps.hppPascalC++
function Insert(Index: Integer): TTMSFNCMapsRectangle;
HIDESBASE TTMSFNCMapsCustomPolygon* __fastcall Insert(int Index);

Parameters

Name Description
Index Zero-based item index.

Returns

Created rectangle instance.