Partilhar via


Imagelist.iconHeight Method

Definition

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

public:
 static int iconHeight();
public static int iconHeight ();
static member iconHeight : unit -> int
Public Shared Function iconHeight () As Integer

Returns

An integer that represents the height of a standard icon.

Remarks

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

Applies to