OutputLayoutManager.SetWindowSize(Variable, Variable, Variable, Variable, Variable) Method

Top 

Description

Sets the size of a window. Call OutputLayout.ApplyUpdates() to perform the action.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

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

 

Method Signature

OutputLayoutManager.SetWindowSize(

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

 

 

 

Return Value

Type:

number

 

 

The return value is not used.

 

Syntax

myVariable1 = OutputLayout.SetWindowSize(myVariable2, myVariable3, myVariable4, myVariable5, myVariable6);

 

 

See also

OutputLayoutManager Object

Output Layout Control Guide