Share via


Imagelist::iconWidth Method

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

Syntax

client public static int iconWidth()

Run On

Client

Return Value

Type: int
An integer that represents the width 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.width Method

Imagelist::iconHeight Method

Imagelist::smallIconWidth Method