DATA Step Graphics Interface Dictionary |
Finds the maximum display area size
Operating States: |
GKOP, SGOP, WSAC, WSOP
|
Return Codes: |
0, 8
|
CALL GASK ('MAXDISP', units, x-dim,
y-dim, x-pixels, y-pixels, return-code-variable);
The GASK('MAXDISP', . . . ) routine returns
the dimensions of the maximum display area for the device. This routine is
useful when you need to know the maximum display area in order to determine
the aspect ratio or to scale a graph.
There is a difference between the maximum display size
returned when the operating state is not SGOP and when it is SGOP. The full
addressable display area is returned when the operating state is not SGOP.
The display area, minus room for titles and footnotes, is returned when the
operating state is SGOP.
units |
numeric variable name; returns a
1 to show that x-dim and y-dim are in meters. |
x-dim |
numeric variable name; returns the
dimension, in meters, in the x direction. |
y-dim |
numeric variable name; returns the
dimension, in meters, in the y direction. |
x-pixels |
numeric variable name; returns the
number of pixels in the x direction. |
y-pixels |
numeric variable name; returns the
number of pixels in the y direction. |
return-code-variable |
numeric variable name; returns the
return code of the routine call. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.