[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the handle used for the image.
Source position: graphics.pp line 1286
protected procedure TRasterImage.SetHandle( |
AValue: TLCLHandle |
); virtual; |
AValue |
|
New value for the Handle. |
SetHandle stores the specified TLCLHandle value as the handle used for the image. The handle is actually the one used by the internal TSharedRasterImage instance for the class. No actions are performed in the method when the value in AHandle is the same as the handle in the shared image instance.
SetHandle frees the device context for the bitmap Canvas, unshares the shared image, and discards its image data. The handle in AValue is assigned to the internal shared image. When no other active update processes are pending, the Changed method is called.
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the AValue parameter.
|
Changed - method to call when properties have changed. |
|
|
The Canvas where the raster image is rendered. |
|
|
BeginUpdate - start the update process. |
|
|
EndUpdate - finishes the update process. |
|
|
Sets handles for the bitmap and the mask to the specified values. |
|
|
Increases the reference count. |
|
|
The type used for handles in LCL applications, components, controls, and widget set classes. |
Version 4.0 | Generated 2025-05-03 | Home |