FMX.ImgList.TCustomImageList.DoBitmap

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
function protected
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TCustomImageList


説明

Index で指定された Destination 項目のすべてのレイヤから得られるビットマップを描画することにより、ビットマップ画像を作成します。

DoBitmap は、生成したビットマップを返します。現在の Destination コレクションに指定の Index 項目が含まれていない場合や、画像の描画に使用されるデータが指定の Index 項目に含まれていない場合、DoBitmapnil を返します。

パラメータ 意味
Size 作成されるビットマップのサイズ。
Index Destination コレクション内の項目のうち、画像の描画に使用されるものの番号(0 から始まる番号)。

関連項目