Previous Page | Next Page

DATA Step Graphics Interface Dictionary

IMAGE



Displays an image
Operating State: SGOP
Return Codes: 0, 150

Syntax
Description

Syntax

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


Description

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.

Previous Page | Next Page | Top of Page