Skip to main content
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

FMX.TMSFNCBitmapContainer.hppPascalC++
procedure AddFromFile(FileName, BitmapName: String);
void __fastcall AddFromFile(System::UnicodeString FileName, System::UnicodeString BitmapName);

Parameters

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