LoadFromFile method (ImageList Control)
Builder Syntax |
int __fastcall LoadFromFile(System::AnsiString sFile, int nBits, int nStart, int nItems); |
Delphi Syntax |
Function LoadFromFile (sFile: String; nBits: Integer; nStart: Integer; nItems: Integer): Integer; |
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: |
Item property, Insert method, InsertAt method, Remove method, Count property, Sort method, InsertFromBitmapList method, SaveToFile method |
Topics: |