Link Search Menu Expand Document

FlexLabel.SetImage Method

Explanation Sets the image list used to display the cell icon.
Display example
https://biz-collections.com/support/webpages/html/onlinemanual/browser/crs/pac/ext4/ext_flexlabelm1.files/image001.png
If the icon displayed is larger than the row height, it will be scaled down while maintaining the aspect ratio.
Call format FlexLabel1.SetImage( img )
Return value None
Arguments ImageList img ImageList object that holds the image list you want to display
Exception None
Example of use
    FlexLabel FlexLabel1 {
        :
    }
    var img = new ImageList {
        MaskUse = $TRUE;
        MaskColR = 1;
        LoadIcon("crs");
        LoadIcon("bdp");
        LoadIcon("car");
    }
    FlexLabel1.SetImage(img);
    FlexLabel1.Icon = 0;
    
Related item Icon property
ResetImage method
ImageList class