Vcl.Graphics.TBitmap.LoadFromResourceID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

void __fastcall LoadFromResourceID(NativeUInt Instance, int ResID);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

Loads a bitmap from a resource into the bitmap object.

Use LoadFromResourceID to load a specified bitmap resource along with palette information from a module's executable file.

Instance is the handle of the module that contains the resource.

ResID is the resource ID for the bitmap.

See Also