TTMSFNCScaledBitmaps.AddBitmapFromFile Method
Loads a bitmap from the specified file and adds it to the collection at the given scale.
API unit family: TMSFNCTypes
Declaring type: TTMSFNCScaledBitmaps
Syntax
function AddBitmapFromFile(FileName: string; Scale: Single = 1.0): TTMSFNCScaledBitmap;
Parameters
| Name | Description |
|---|---|
FileName |
Full path to the image file. |
Scale |
Display scale factor. Defaults to 1.0. |
Returns
The newly added scaled bitmap item.