Vcl.Graphics.TGraphic.LoadFromFile
Delphi
procedure LoadFromFile(const Filename: string); virtual;
C++
virtual void __fastcall LoadFromFile(const System::UnicodeString Filename);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TGraphic |
Description
Loads a graphic image stored in a file.
LoadFromFile reads the file specified in FileName and loads the data into the graphics object.
See Also
Code Examples