<<

Contents

Search

>>

 

GET_MAINSIZE

 

 

Function

 

 

Syntax:

GET_MAINSIZE(<Type>)

 

<Type> = <NUM-EXPRESSION>

 

Meaning:

Returns the current size of the main window in pixel.

 

Either the size of the whole main window is returned or the size that is available for displaying the masks (mask area). The size of the mask area does not include the space for the icon bar, the status line and the window frame.

 

Parameter:

Type

= 1:

Height of mask area

= 2:

Width of mask area

= 3:

Height of the whole main window

= otherwise:

Width of the whole main window

 

Sample:

MAIN_HEIGHT% = GET_MAINSIZE(1)

MAIN_WIDTH% = GET_MAINSIZE(0)

 

See also:

SET_MAINSIZE

GET_SIZE$

MAINSIZE

GET_MAINCOORDINATE