TTMSFNCBitmapContainer.FindBitmap Method
Loads the bitmap at the specified index into the supplied bitmap object.
API unit family: TMSFNCBitmapContainer
Declaring type: TTMSFNCBitmapContainer
Overloads
Overload 1
Loads the bitmap at the specified index into the supplied bitmap object.
procedure FindBitmap(i: Integer; ABitmap: TTMSFNCBitmap); overload; virtual;
Parameters
| Name | Description |
|---|---|
i |
The zero-based index of the bitmap item to retrieve. |
ABitmap |
The bitmap object that receives the loaded image. |
Overload 2
Finds and returns the bitmap associated with the specified name, or
nilif not found.
function FindBitmap(s: string): TTMSFNCBitmap; overload; virtual;
Parameters
| Name | Description |
|---|---|
s |
The name of the bitmap item to find. |
Returns
The bitmap associated with the specified name, or nil when no matching item exists.