Skip to main content
Table of Contents

TTMSFNCMaps.AddElementContainer Method

Creates and returns element container.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMaps Inherited from: TTMSFNCCustomMaps

Syntax

GeneratedPascalC++
function AddElementContainer(AHTML: TStrings; AStyle: TStrings = nil; AScript: TStrings = nil; APosition: TTMSFNCMapsPosition = poTopLeft; AHTMLElementID: string = ''): TTMSFNCMapsElementContainer; virtual;
virtual TTMSFNCMapsElementContainer* __fastcall AddElementContainer(System::Classes::TStrings* AHTML, System::Classes::TStrings* AStyle = nullptr, System::Classes::TStrings* AScript = nullptr, TTMSFNCMapsPosition APosition = poTopLeft, System::UnicodeString AHTMLElementID = System::UnicodeString());

Parameters

Name Description
AHTML Text content used by the operation.
AStyle Style content used by the element.
AScript Script content used by the element.
APosition Map position used for the element.
AHTMLElementID Text content used by the operation.

Returns

String value returned by the operation.