SaveDatabase method (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SaveDatabase (VARIANT_BOOL bSelected, BSTR pszFilename);

Overview

Refer to Using the ImageList Control.

Remarks

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

The items will be saved as pages in a multipage TIFF file.

The format of the pages will be as follows:

BitsPerPixel

Format

1

FILE_CCITT_GROUP4

8

FILE_TIF_PACKBITS

24

FILE_JTIF

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

Topics:

Raster Images: Displaying Images