Imagelist.smallIconWidth 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 width of a small icon.
public:
static int smallIconWidth();
public static int smallIconWidth ();
static member smallIconWidth : unit -> int
Public Shared Function smallIconWidth () As Integer
Returns
An integer that represents the width 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 width of images in the list.
Imagelist list = new Imagelist(
Imagelist::smallIconWidth(),
Imagelist::smallIconHeight());
print list.width();
pause;