TTMSFNCBitmapHelper.LoadFromResource Method
Loads a bitmap from an application resource in the current module, replacing any existing content.
API unit family: TMSFNCTypes
Declaring type: TTMSFNCBitmapHelper
Overloads
Overload 1
Loads a bitmap from an application resource in the current module, replacing any existing content.
procedure LoadFromResource(AResourceName: String); overload;
Parameters
| Name | Description |
|---|---|
AResourceName |
The resource identifier of the bitmap. |
Overload 2
Loads a bitmap from an application resource in the specified module instance, replacing any existing content.
procedure LoadFromResource(AResourceName: String; AInstance: NativeUInt); overload;
Parameters
| Name | Description |
|---|---|
AResourceName |
The resource identifier of the bitmap. |
AInstance |
The module instance handle that contains the resource. |