Imagelist.smallIconHeight Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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;