Vcl.Imaging.pngimage.TPngImage.LoadFromResourceID

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

procedure LoadFromResourceID(Instance: HInst; ResID: Integer);

C++

void __fastcall LoadFromResourceID(NativeUInt Instance, int ResID);

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 LoadFromResourceID 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. ResID specifies the ID of the resource being loaded.

See Also