[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCustomBitmap.GetSharedImageClass

Gets the class reference used to create new shared image instances in the class.

Declaration

Source position: graphics.pp line 1410

protected class function TCustomBitmap.GetSharedImageClass: TSharedRasterImageClass; override;

Function result

TSharedCustomBitmap class type for the shared image.

Description

GetSharedImageClass is an overridden method in TCustomBitmap. The return value is a TSharedRasterImageClass class reference used to create a shared image in the class instance. The return value is actually TSharedCustomBitmap in the method implementation.

GetSharedImageClass is called from the Assign method when a reference to an existing image is stored in the class instance. It is also used in CanShareImage to determine is the request image type is the one used in the current class instance.

See also

TRasterImage.GetSharedImageClass

  

Gets the class reference used to create new shared image instances in the class.


Version 3.2 Generated 2024-02-25 Home