Vcl.Imaging.pngimage.TPngImage.LoadFromResourceName
Delphi
procedure LoadFromResourceName(Instance: HInst; const Name: String);
C++
void __fastcall LoadFromResourceName(NativeUInt Instance, const System::UnicodeString Name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Loads a png image from a resource.
Call LoadFromResourceName to load a png image from a resource. The newly loaded image replaces the one stored in the TPngImage class. The Instance parameter specifies the module (an EXE or a DLL file) ID from which the resource is being loaded. Name specifies the name of the resource being loaded.