Get Window Width

variable <- Get_Window_Width

 

Get_Window_Width is a function that returns the width, in pixels, of the currently opened RaptorGraph window. This can be useful, because the size of the opened RaptorGraph window is not always the size requested. This inconsistency most often occurs when especially small window sizes are requested via Open_Graph_Window.

 

A RaptorGraph window MUST be open when you call Get_Window_Width or a run-time error will occur.

 

Example: