Table of Contents

TTMSMCPScaledBitmaps.AddBitmapFromFile Method

Loads a bitmap from the specified file and adds it to the collection at the given scale.

API unit family: TMS.MCP.Types Declaring type: TTMSMCPScaledBitmaps

Syntax

function AddBitmapFromFile(FileName: string; Scale: Single = 1.0): TTMSMCPScaledBitmap;

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.