LoadFromFile method (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short LoadFromFile (BSTR pszFile, short nBits, long nStart, long nItems);

Overview

Refer to Using the ImageList Control.

Remarks

Inserts new items into the ImageList Control from the specified file. This method supports loading multiple pages from a multi-page file. All items are inserted with the same Text attribute, which is the filename. You can change this after the items are inserted using the Item collection property.

See Also

Elements

ExportBitmapList method, ExportedBitmapList property, ImportBitmapList method, SortExt method, Item property, Insert method, InsertAt method, Remove method, Count property, Sort method, InsertFromBitmapList method, SaveToFile method

Topics

Raster Images: Displaying Images