FMX.ImgList.TCustomImageList.DoBitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoBitmap(Size: TSize; const Index: Integer): TBitmap; virtual;

C++

virtual Fmx::Graphics::TBitmap* __fastcall DoBitmap(const System::Types::TSize &Size, const int Index);

Properties

Type Visibility Source Unit Parent
function protected
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TCustomImageList

Description

Creates a bitmap by drawing bitmaps from all layers in the Index destination item.

DoBitmap returns the generated bitmap. If the current destination collection does not contain the specified Index item, or the specified Index item does not contain data to be used to draw an image, then DoBitmap returns nil.

Parameter Meaning
Size The size of created bitmap.
Index The zero-based number of an item in the Destination collection that is used for painting images.

See Also