DATA Step Graphics Interface Dictionary |
Displays an image
Operating State: |
SGOP
|
Return Codes: |
0, 150
|
return-code-variable=GDRAW('IMAGE',
'external-file', x1, y1, x2, y2,
'style');
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.