Chapter Contents

Previous

Next
MAXDISP

MAXDISP



Finds the maximum display area size

Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8


Syntax
Description
Argument Definitions
See Also


Syntax

CALL GASK ('MAXDISP', units, x-dim, y-dim, x-pixels, y-pixels, return-code-variable);


Description

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, and the display area minus room for titles and footnotes is returned when the operating state is SGOP.


Argument Definitions

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.

See Also

GASK('HSIZE', . . . ) routine
GASK('VSIZE', . . . ) routine
GSET('HSIZE', . . . ) function
GSET('VSIZE', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.