Sign in Join
FPDoc Onlineexperiment

TRasterImage.CanShareImage function

Member of TRasterImageprotectedIn unit Graphics

CanShareImage - returns True if specified class of image can be shared.

Declaration

pascal
function CanShareImage(AClass: TSharedRasterImageClass): Boolean
 ; virtual

Description

CanShareImage is a Boolean function which indicate if the raster image uses a shareable image class. The return value is True when AClass matches the value returned from the GetSharedImageClass method, and is not TSharedCustomBitmap. Only images of the same class type can be shared.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.