ExportBitmapList method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ExportBitmapList(int nStartIndex, int nItemsToExport, HBITMAPLIST &hExportedBitmapList);

Delphi Syntax

Function ExportBitmapList(nStartIndex: L_INT; nItemsToExport: L_INT; var hExportedBitmapList: HBITMAPLIST): L_INT;

Overview

Refer to Using the ImageList Control.

Remarks

Exports a number of bitmaps from the Image List control to a bitmap list.

The list of bitmaps will be exported from the Image List control into the passed hExportedBitmapList starting from nStartIndex to (nStartIndex + nItemsToExport –1).

After calling this method successfully, the hExportedBitmapList parameter should be updated with the exported bitmaps.

See Also

Elements:

ImportBitmapList method, Sort method, SortExt method, Item property, InsertAt method, Remove method, Count property, InsertFromBitmapList method, LoadFromFile method, SaveToFile method.

Topics:

Raster Images: Displaying Images