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

TRasterImage.GetSharedImageClass

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

Declaration

Source position: graphics.pp line 1265

protected class function TRasterImage.GetSharedImageClass: TSharedRasterImageClass; virtual;

Function result

Class reference used to create the shared image in the class.

Description

GetSharedImageClass is a class function used to get the class reference needed to create a shared image in the class instance. The return value the TSharedRasterImage class type.

GetSharedImageClass is called from the implementation of 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.


Version 4.0 Generated 2025-05-03 Home