Imagelist.height Method [AX 2012]

Retrieves the height of the images in the image list in pixels.

public int height()

Run On

Client

Return Value

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

The height of the images in the list is set when you instantiate the list.

The following example creates an image list and sets the height and width of the images to the dimensions that are specified by the iconWidth and iconHeight methods. It then prints out the height of images in the list.

Imagelist list; 
  
list = new Imagelist( 
    Imagelist::iconWidth(), 
    Imagelist::iconHeight()); 
  
print list.height();   
pause;  

Community Additions

ADD
Show: