DADiSP Worksheet Functions > Function Categories > Query Functions > GETWSIZE
Returns a string containing the size of a specified Window.
GETWSIZE(win)
win |
- |
Optional. Window reference. Defaults to the current Window. |
A string containing the corresponding SETWSIZE command.
If W1 is 1/2 the size of the Worksheet,
getwsize(W1)
returns the following string:
setwsize(0, 0, 1, 0.5)
The string returned contains the SETWSIZE command which you can use to set the Window to the current size. The size is specified in terms of a normal coordinate system where 0.0, 0.0 represents the upper left corner of the Worksheet and 1.0, 1.0 represents the lower right corner of the Worksheet.