<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