DADiSP Worksheet Functions > Function Categories > Query Functions > GETWSIZE

 

GETWSIZE

Purpose:

Returns a string containing the size of a specified Window.

Syntax:

GETWSIZE(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

A string containing the corresponding SETWSIZE command.

Example:

If W1 is 1/2 the size of the Worksheet,

 

getwsize(W1)

 

returns the following string:

 

setwsize(0, 0, 1, 0.5)

Remarks:

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.

See Also:

MOVEWIN

SETWSIZE