Imagelist.iconWidth 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 standard icon.
public:
static int iconWidth();
public static int iconWidth ();
static member iconWidth : unit -> int
Public Shared Function iconWidth () As Integer
Returns
An integer that represents the width 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());