Imagelist::iconHeight Method [AX 2012]

Retrieves the system metrics for the height of a standard icon.

client public static int iconHeight()

Run On

Client

Return Value

Type: int
An integer that represents the height of a standard icon.

The following example creates a list of images, and then sets them to the standard icon width and height.

ImageList list = new Imagelist( 
    Imagelist::iconWidth(), 
    Imagelist::iconHeight());
Show: