Vizard 7 » Command Index » Vizard modules » viz » <viz:window>.setSize
7.6

<viz:window>.setSize

Sets the window size.

<viz:window>.setSize(  
[width,height]  
)  
[width,height]
Width and height of the window in pixels

Remarks

This command will set the size of the graphics area of the window to the specified [width,height] pixel values. The actual size of the window, including border and title bar, might be larger.

Return Value

None

Example

viz.window.setSize([480,340]) #Sets size to 480x340

See also

<viz:window>.getPosition
<viz:window>.getSize
<viz:window>.setPosition