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 |
The view's new width. |
|
|
Height |
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
SOFTIMAGE|XSI v6.01