![]() Chapter Contents |
![]() Previous |
![]() Next |
| VIEWPORT |
| Operating States: | GKOP, SGOP, WSAC, WSOP |
| Return Codes: | 0, 8, 50 |
| Syntax | |
| Description | |
| Argument Definitions | |
| See Also |
| Syntax |
CALL GASK('VIEWPORT', n, llx, lly, urx, ury, return-code-variable);
| Description |
The GASK('VIEWPORT', . . . ) routine returns the coordinates of the viewport associated with the specified transformation. If a viewport has not been defined with the GSET('VIEWPORT', . . . ) function for the specified transformation, n, GASK('VIEWPORT', . . . ) returns the default coordinates for the viewport, (0,0) and (1,1).
| Argument Definitions |
| n | numeric constant or numeric variable name; indicates the transformation number assigned to the viewport to check. Valid values are 0 to 20, inclusive. If n is expressed as a variable, the variable must be initialized to a value between 0 and 20. |
| llx | numeric variable name; returns the x coordinate of the lower-left corner. |
| lly | numeric variable name; returns the y coordinate of the lower-left corner. |
| urx | numeric variable name; returns the x coordinate of the upper-right corner. |
| ury | numeric variable name; returns the y coordinate of the upper-right corner. |
| return-code-variable | numeric variable name; returns the return code of the routine call. |
| See Also |
| GASK('TRANS', . . . ) routine | |
| GASK('TRANSNO', . . . ) routine | |
| GASK('WINDOW', . . . ) routine | |
| GSET('TRANSNO', . . . ) function | |
| GSET('VIEWPORT', . . . ) function | |
| GSET('WINDOW', . . . ) function |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.