Vcl.ImgList.TCustomImageList.AddImage

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

Delphi

function AddImage(Value: TCustomImageList; Index: Integer): Integer;

C++

int __fastcall AddImage(TCustomImageList* Value, int Index);

プロパティ

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

説明

ほかのイメージリストからイメージを 1 つ追加します。

ほかのイメージリストから単一のイメージを追加するには,AddImage を使用します。Values はソースイメージリストを指定します。Index は特定のイメージを指します。イメージは 0 から番号が付けられています。

AddImage はイメージ追加後のイメージリストの長さを返します。

関連項目