RAD Studio VCL Reference
|
Reads the file specified in Filename and loads the data into the TPicture object.
procedure LoadFromFile(const Filename: string);
__fastcall LoadFromFile(const AnsiString Filename);
Use LoadFromFile to read a picture from disk. The TGraphic class created is determined by the file extension of the file. If the file extension is not recognized an EInvalidGraphic exception is raised.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|