Compartir a través de


Imagelist.smallIconHeight Method

Definition

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

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

Returns

An integer that represents the height of a small icon.

Remarks

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

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

Applies to