OutputLayoutManager.GetWindowSize(Variable, Variable, Variable, Variable, Variable) Method

Top 

Description

Get the size of the of the specified window.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

OutputLayoutManager.GetWindowSize(

Variable windowId,


Variable mode,


Variable width,


Variable mode,


Variable height)

 

 

Arguments

windowId


Description:

Window ID.

Valid Range:

windowId ≥ 1

 

 

mode


Description:

The window sizing mode.

Valid Values:

Value

Label

0

Width will be specified in pixels

1

Width will be specified as a fraction of the Workspace or occupied screen width, from 0 to 1.

 

 

 

width


Description:

Window width.

Valid Range:

width ≥ 0

 

 

mode


Description:

The window sizing mode.

Valid Values:

Value

Label

0

Height will be specified in pixels

1

Height will be specified as a fraction of the Workspace or occupied screen height, from 0 to 1.

 

 

 

height


Description:

Window height.

Valid Range:

height ≥ 0

 

 

 

Syntax

OutputLayout.GetWindowSize(myVariable1, myVariable2, myVariable3, myVariable4, myVariable5);

 

 

See also

OutputLayoutManager Object

Output Layout Control Guide