TdxCustomSmartImage.LoadFromResource(THandle,string,PChar) Method
Loads an image from the specified resource.
Declaration
procedure LoadFromResource(AInstance: THandle; const AResName: string; AResType: PChar);
Parameters
Name | Type |
---|---|
AInstance | THandle |
AResName | string |
AResType | PChar |
Remarks
Call this procedure and pass the handle, name and type of a required resource as the AInstance, AResName, and AResType parameters, respectively. A successfully loaded image populates the empty Smart Image container or replaces the currently stored image.
See Also