Table of Contents

TTMSMCPBitmap.LoadFromFile Method

Loads the bitmap from the file at the specified path, supporting PNG, JPEG, BMP, and SVG formats.

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

Syntax

procedure LoadFromFile(const AFileName: string); virtual;

Parameters

Name Description
AFileName Full file path of the image to load.