Table of Contents

TTMSMCPBitmapHelper.CreateFromFile Method

Creates and returns a new bitmap loaded from the specified image file.

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

Syntax

class function CreateFromFile(AFileName: string): TTMSMCPBitmap; overload;

Parameters

Name Description
AFileName The path to the image file.

Returns

A new bitmap loaded from the file.