Share via


Imagelist::smallIconHeight Method

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

Syntax

client public static int smallIconHeight()

Run On

Client

Return Value

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

Examples

The following example creates an image list that has the standard height and width for small icons, and then prints out the height of images in the list.

Imagelist list = new Imagelist( 
    Imagelist::smallIconWidth(), 
    Imagelist::smallIconHeight()); 
  
print list.height();   
pause;

See Also

Imagelist Class

Imagelist.height Method

Imagelist::iconHeight Method

Imagelist::smallIconWidth Method