Link Search Menu Expand Document

ImageList.GetImage Method

Explanation Gets the image with the specified index number.
Call format var img = ImageList1.GetImage( no )
Return value Image object
The Image object obtained by this method cannot be rotated by the
Rotate method.
Arguments integer no Image list index number
Specify an integer starting from 0.
Exception None
Example of use
    var img = new ImageList("sample.png", 32, 32);
    ImageLabel1.SetImage(img.GetImage(0));
    
Related item LoadImage, LoadIcon methods
Image class