Table of Contents

TTMSMCPScaledBitmaps.AddDrawBitmap Method

Wraps an existing draw bitmap in a new collection item at the given scale and returns it.

API unit family: TMS.MCP.Types Declaring type: TTMSMCPScaledBitmaps

Syntax

function AddDrawBitmap(Bitmap: TTMSMCPDrawBitmap; Scale: Single = 1.0): TTMSMCPScaledBitmap;

Parameters

Name Description
Bitmap The draw bitmap to add.
Scale Display scale factor. Defaults to 1.0.

Returns

The newly added scaled bitmap item.