Skip to main content
Table of Contents

TTMSFNCMapsPolygons.Add Method

Creates and returns a new collection item.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMapsPolygons Inherited from: TTMSFNCMapsPolyElements

Overloads

Overload 1

Creates and returns a new collection item.

FMX.TMSFNCMaps.hppPascalC++
function Add: TTMSFNCMapsPolyElement;
HIDESBASE TTMSFNCMapsPolyElement* __fastcall Add();

Returns

Value returned by the function.

Overload 2

Creates and returns a new collection item.

FMX.TMSFNCMaps.hppPascalC++
function Add: TTMSFNCMapsPolygon;
HIDESBASE TTMSFNCMapsPolyElement* __fastcall Add();

Returns

Created polygon instance.