Table of Contents

TTMSMCPCloudAIImages.Add Method

Appends a new empty image item to the collection.

API unit family: TMS.MCP.CloudImageAI Declaring type: TTMSMCPCloudAIImages

Overloads

Overload 1

Appends a new empty image item to the collection.

function Add: TTMSMCPCloudAIImage; overload;

Remarks

The collection owns the returned item; do not free it.

Returns

The newly created item, still without image content.

Overload 2

Appends a new image item to the collection and fills it with the content of the supplied bitmap.

function Add(APicture: TBitmap): TTMSMCPCloudAIImage; overload;

Remarks

The collection owns the returned item; do not free it.

Parameters

Name Description
APicture Bitmap whose content is stored in the new item. The bitmap itself is left unchanged.

Returns

The newly created item, already holding the encoded bitmap bytes.

Overload 3

Appends a new image item to the collection and fills it with the content of the supplied picture.

function Add(APicture: TPicture): TTMSMCPCloudAIImage; overload;

Remarks

The collection owns the returned item; do not free it.

Parameters

Name Description
APicture Picture whose content is stored in the new item. The picture itself is left unchanged.

Returns

The newly created item, already holding the encoded picture bytes.