Vcl.ImgList.TCustomImageList.GetBitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBitmap(Index: Integer; Image: TBitmap): Boolean;

C++

bool __fastcall GetBitmap(int Index, Vcl::Graphics::TBitmap* Image);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList TCustomImageList

Description

Retrieves a specified image as a bitmap.

Use the GetBitmap method to obtain a particular image in the image list as a bitmap object. Index denotes the index of the image. GetBitmap assigns the image to the TBitmap object passed in as the Image parameter.

See Also

Code Examples