Previous Page | Next Page

DATA Step Graphics Interface Dictionary

VIEWPORT



Associates a viewport with a transformation number
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 TRANSNO for information on how to activate the viewport. See the WINDOW 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

VIEWPORT

WINDOW

TRANSNO

TRANSNO

TRANS

WINDOW

Previous Page | Next Page | Top of Page