Skip to main content
Table of Contents

TTMSFNCScaledBitmaps.GetItemByScale Method

Returns the collection item whose scale factor matches the requested scale, or nil if not found.

API unit family: TMSFNCTypes Declaring type: TTMSFNCScaledBitmaps

Syntax

FMX.TMSFNCTypes.hppPascalC++
function GetItemByScale(Scale: Single): TTMSFNCScaledBitmap;
TTMSFNCScaledBitmap* __fastcall GetItemByScale(float Scale);

Parameters

Name Description
Scale The display scale factor to look up.

Returns

The matching scaled bitmap item, or nil when not found.