Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TCustomBitmap32🞂LoadFromFileMethodPublic

TCustomBitmap32.LoadFromFile

Loads bitmap image data from a specified file path.

Declaration ​

pascal
procedure LoadFromFile(const FileName: string); virtual;

Parameters ​

ParameterTypeDescription
FileNamestringFull file path of the image file to load.

Description ​

LoadFromFile opens and reads image data from FileName.

Example ​

pascal
Bitmap.LoadFromFile('C:\Images\Sample.png');