Resize (View)

Description

Changes the size of the view.

Scripting Syntax

View.Resize( Width, Height )

C# Syntax

View.Resize( Int32 in_w, Int32 in_h );

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://www.softimage.com" )
netv.Resize( 1280, 1280 )

See Also

View.Move



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index