Table of Contents

TTMSFNCScaledBitmaps.GetBitmapByScale Method

Returns the bitmap whose scale factor best matches the requested scale, or the first bitmap if no exact match exists.

API unit family: TMSFNCTypes Declaring type: TTMSFNCScaledBitmaps

Syntax

function GetBitmapByScale(Scale: Single): TTMSFNCBitmap;

Parameters

Name Description
Scale The display scale factor to look up.

Returns

The best-matching bitmap, or the first bitmap when no exact match exists.