FMX.Import.TGEBitmap.CreateFromFile
Delphi
constructor CreateFromFile(const AFileName: string); override;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | FMX.Import.pas | FMX.Import | TGEBitmap |
Description
Construit un objet TBitmap à partir d'un fichier.
CreateFromFile construit un objet TBitmap en chargeant le contenu de son image à partir d'un fichier spécifié par le paramètre AFileName
.