Function TWPImageList.AddIconsFromFile(Filename:string) : TWPImageListItem

Unit: WPUtil
Class: WPUtil.TWPImageList

Parameters

  • Filename:string

Returns

The type of the result value is TWPImageListItem.

Description

This method loads an image list from the file and also tries to adjust the icon width and height according to filename