IMAGE

Displays an image
Operating state: SGOP

Syntax

return-code-variable=GDRAW('IMAGE', 'external-file', x1, y1, x2, y2, 'style');

Return Codes

This function returns:

Details

The GDRAW('IMAGE', . . .) function displays the specified image within opposing pairs of coordinates. The format of the external image file varies between operating environments. The (x1, y1) coordinate pair specifies one corner of the image, and the (x2, y2) coordinate pair specifies the opposite corner of the image. The style parameter must be either 'TILE' to copy the image as many times as necessary to fill the area; or 'FIT' to stretch one instance of the image to fill the area.
For a list of the file types that you use, see Image File Types Supported by SAS/GRAPH.