Table of Contents

TTMSFNCBitmapContainer.AddFromFile Method

Loads a bitmap from a file and adds it to the collection with the specified name.

API unit family: TMSFNCBitmapContainer Declaring type: TTMSFNCBitmapContainer

Syntax

procedure AddFromFile(FileName, BitmapName: String);

Parameters

Name Description
FileName The path to the image file.
BitmapName The name to assign to the added bitmap item.