Image.height Method [AX 2012]

Retrieves the height of the image in pixels.

public int height()

Run On

Client

Return Value

Type: int
An integer that represents the height of the image in pixels.

The following example prints out the height of the image that is contained in test.bmp.

Image img = new Image(); 
 
img.loadFile(@'C:\test.bmp'); 
print img.height(); 
pause;

Community Additions

ADD
Show: