VSMAX (System Variable)

Stores the upper-right corner of the current viewport's virtual screen.

(Read-only)
Type:3D-point
Saved in:Drawing
Initial value:Varies

Expressed as a UCS coordinate.