Skip to main content
Table of Contents

TTMSFNCScaledBitmaps.AddDrawBitmap Method

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

API unit family: TMSFNCTypes Declaring type: TTMSFNCScaledBitmaps

Syntax

FMX.TMSFNCTypes.hppPascalC++
function AddDrawBitmap(Bitmap: TTMSFNCDrawBitmap; Scale: Single = 1.0): TTMSFNCScaledBitmap;
TTMSFNCScaledBitmap* __fastcall AddDrawBitmap(TTMSFNCDrawBitmap* Bitmap, float Scale = 1.000000E+00f);

Parameters

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

Returns

The newly added scaled bitmap item.