![]() Chapter Contents |
![]() Previous |
![]() Next |
| VIEWPORT |
| Operating States: | GKOP, SGOP, WSAC, WSOP |
| Return Codes: | 0, 8, 50, 51, 52 |
| Default Values: | llx=0, lly=0, urx=1, ury=1 |
| Syntax | |
| Description | |
| Argument Definitions | |
| See Also |
| Syntax |
return-code-variable=GSET('VIEWPORT', n, llx, lly, urx, ury);
| Description |
The GSET('VIEWPORT', . . . ) function defines a viewport and associates it with the transformation number, n. See the GSET('TRANSNO', . . . ) function for information on how to activate the viewport. See the GSET('WINDOW', . . . ) function for information on how to define a window to be used within the viewport.
| Argument Definitions |
| n | numeric constant or numeric variable name; specifies the transformation number of the viewport. Valid values are 1 to 20, inclusive. |
| llx | numeric constant or numeric variable name; defines the x component of the lower-left corner of the viewport; must not exceed the value of urx; cannot be less than 0. Units are based on percent of the graphics output area. |
| lly | numeric constant or numeric variable name; defines the y component of the lower-left corner of the viewport; must not exceed the value of ury; cannot be less than 0. Units are based on percent of the graphics output area. |
| urx | numeric constant or numeric variable name; defines the x component of the upper-right corner of the viewport; cannot be greater than 1. Units are based on percent of the graphics output area. |
| ury | numeric constant or numeric variable name; defines the y component of the upper-right corner of the viewport; cannot be greater than 1. Units are based on percent of the graphics output area. |
| See Also |
| GASK('VIEWPORT', . . . ) routine | |
| GSET('WINDOW', . . . ) function | |
| GSET('TRANSNO', . . . ) function | |
| GASK('TRANSNO', . . . ) routine | |
| GASK('TRANS', . . . ) routine | |
| GASK('WINDOW', . . . ) routine |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.