SaveDatabase method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SaveDatabase (AnsiString FileName, bool bSelected);

Delphi Syntax

Function SaveDatabase (FileName: String; bSelected: Boolean): Integer;

Overview

Refer to Using the ImageList Control.

Remarks

Call this method to save the ImageList's contents as a database (multi-page TIFF file).

The items will be saved as pages in a multi-page TIFF file.

The format of the pages will be as follows:

BitsPerPixel

Format

1

FILE_CCITT_GROUP4

8

FILE_TIF_PACKBITS

24

FILE_TIF_JPEG

Other

FILE_TIF

The text for each item will be saved in the CMNT_SZNAMEOFPAGE comment.

See Also

Elements:

SaveToFile method, LoadDatabase method, LoadFromFile method, SaveTileHeight property, SaveTileWidth property

Topics:

Raster Images: Displaying Images