Share via


Imagelist::smallIconWidth Method

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

Syntax

client public static int smallIconWidth()

Run On

Client

Return Value

Type: int
An integer that represents the width 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 width of images in the list.

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

See Also

Imagelist Class

Imagelist.width Method

Imagelist::iconWidth Method

Imagelist::smallIconHeight Method