Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
VIEW Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Defines the size and location of a viewport where graphics are displayed on
the screen; not available when forms are showing.
VIEW [[SCREEN] (x1!,y1!)-(x2!,y2!) [,[color%] [,border&]]]
■ SCREEN Specifies that coordinates are relative to the
screen rather than to the viewport; only graphics
within the viewport are plotted
■ (x1!,y1!)-(x2!,y2!) Coordinates of diagonally opposite corners of
the viewport
■ color% Color attribute that sets the viewport fill color
■ border& Color attribute that sets the viewport border
color
See Also
◄Graphics Command Summary► ◄VIEW PRINT Statement►