Share via


Imagelist::iconHeight Method

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

Syntax

client public static int iconHeight()

Run On

Client

Return Value

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

Examples

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());

See Also

Imagelist Class

Imagelist.height Method

Imagelist::iconWidth Method

Imagelist::smallIconHeight Method