This documentation is archived and is not being maintained.
Image.width Method [AX 2012]
Retrieves the width of the image in pixels.
Run On
Client
Return Value
Type:
int
An integer that represents the width of the image in pixels.
The following example prints out the width of the image in the test.bmp file.
Image img = new Image();
img.loadFile(@'C:\test.bmp');
print img.width();
pause;