# Open and Display

> [HTML Version](openanddisplay.htm)

_Updated September 2013_

**xcall AUI, AUI\_IMAGE, IMGOP\_LOADDISP, handle, status, srow, scol, erow, ecol, flags, filename \{,pageno\}**

IMGOP\_LOADDISP combines _opcodes 1_ ([Load](load_aui_image.md)) and 3 ([Display](display_aui_image.md)) to save you a step. Note that like _opcode 1_, it leaves the image in memory, so you can later redisplay it using just _opcode 3_. 

| **Symbol** | **Value** | **Description** |
|------|------|------|
| IMGF\_HALFTONE | \&h0001 | Use halftone print method. |
| IMGF\_SCATTER | \&h0002 | Use scatter print method. |
| IMGF\_STRETCH | \&h0004 | Stretch image to fit bounding rectangle. Other­wise retain aspect ratio, meaning the image will likely be smaller than the rectangle in one of the two dimensions. |
| IMGF\_SCALEQ | \&h0008 | Interpolate—i.e., use hq scaling. |
| IMGF\_FORCEXFER | \&h0010 | (ATE) Force image filespec to be treated as relative to the host and transfer it to the client. Applies to IMGOP\_LOAD and IMGOP\_LOADDISP. See [Transfer of Server-Side Images](transferofserver-sideimages.md). |


[Hex-Decimal Values](hex-decimalvalues.md)



**History**

2013 September, A-Shell 6.1.1362:  Added _pageno_ to specify the page number of a multi-page TIF to display. The first page is considered 1. 0 is also treated as 1. Note that in order for this feature to be used with ATE, both server and client must be on A-Shell 6.1.1362.0 or later.