TIEBitmap.GetAsTempBitmap
Declaration
function GetAsTempBitmap(ID: Integer; MinW: Integer = 0; MinH: Integer = 0; Scale: Double = 1.0): TBitmap;
Description
Return a TBitmap representation of the current image.
ID can be any number. If the existing temporary bitmap does not match the specified ID, the image is regenerated.
MinW/MinH are used to specify a desired image size to improve performance (image is guaranteed to be at least this size).
If Scale is not 1.0, the image will be scaled (e.g. 0.50 will return a half size image).
Note: Do not free the result. It will be destroyed automatically.