ImageList.LoadImage Method
| Explanation | Load the image file. JPEG or PNG is effective as the image file format. In addition to the above, GIF and BMP are also effective for AI. The image file is automatically divided by the size specified in the IconWidth and IconHeight properties, and each can be obtained as an individual image with the GetImage method. Areas that do not meet the values of the IconWidth and IconHeight properties are filled in black. If the LoadImage and LoadIcon methods are called repeatedly, they will be added after the loaded image list. It will not be overwritten. | |
| Call format | var num = ImageList1.LoadImage( URL or Reader ) | |
| Return value | ||
| Arguments | URL or Reader | Specify the URL of the image file or the ReaderObject. |
| Exception | EXT-1 | Invalid URL argument |
| EXT-7 | Invalid reference | |
| Example of use | | |
| Related item | IconWidth, IconHeight properties GetImage, LoadIcon, RemoveImage methods | |