Reference Guide > System Variables > !D.X_Size / !D.Y_Size
  

!D.X_Size / !D.Y_Size
Reports the width and height of the current graphics window in pixels. The values are updated when the window is resized.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.