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

function GetItemByScale(Scale: Single): TTMSFNCScaledBitmap;

Parameters

Name Description
Scale The display scale factor to look up.

Returns

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