Skip to content

SetImageOverlayFromTImage

function

Deprecated

Kept for backward compatibility only.

Delphi
function SetImageOverlayFromTImage  (Image: TImage): Boolean;
C++Builder
bool __fastcall SetImageOverlayFromTImage(Vcl::Extctrls::TImage* Image);

Loads the current image overlay from a TImage component (available only in the Delphi and C++Builder versions)

Remarks

Deprecated: use SetImageOverlayFromTImage2 instead, with the image overlay index as the first parameter.

Used to load the image overlay currently selected by ImageOverlaySelector from a TImage component (available only in the Delphi and C++Builder versions). Note: see the Image overlays chapter for general information about this feature.