This documentation is archived and is not being maintained.
Image.imageInfo Method [AX 2012]
Retrieves the width, height, and color depth of the image.
public container imageInfo()
Run On
Client
Return Value
Type:
container
A container that holds values that specify the width of the image, the height of the image, and the number of bits per pixel.
The following example prints out the width and height of the image test.bmp, and specifies the color depth in bits per pixel.
Image img = new Image();
container c;
img.loadFile(@'C:\Test.bmp');
c = img.imageInfo();
print con2str(c);
pause;