View.Resize

Description

Changes the size of the view.

Scripting Syntax

View.Resize( Width, Height );

Parameters

Parameter Type Description
Width Long The view's new width.
Height Long The view's new height.

Examples

Python Example

#
#       This example demonstrates how to create a view and then expand 
#       its default size.
#
Application.NewScene( "", 0 )
app = Application
netv = app.Desktop.ActiveLayout.CreateView( "netview", "netview" )
netv.SetAttributeValue( "url", "http://softimage.wiki.softimage.com/index.php/Main_Page" )
netv.Resize( 1280, 1280 )

See Also

View.Move View.Rectangle