This documentation is archived and is not being maintained.
Imagelist.width Method [AX 2012]
Retrieves the width of the images in the image list in pixels.
Run On
Client
Return Value
Type:
int
An integer that represents the width of the images in pixels.
The width of the images in the list is set when you instantiate the list.
The following example creates an image list that has the standard height and width for icons, and then prints out the width of images in the list.
Imagelist list;
list = new Imagelist(
Imagelist::iconWidth(),
Imagelist::iconHeight());
print list.width();
pause;