View.Move

Description

Moves a view at a global screen coordinate.

C# Syntax

View.Move( Int32 in_x, Int32 in_y );

Scripting Syntax

View.Move( XPos, YPos );

Parameters

Parameter Type Description
XPos Long The new view's position in X.
YPos Long The new view's position in Y.

Examples

JScript Example

/*
	This example demonstrates how to create a view and then move 
	it to the top left corner of the screen.
*/
NewScene( null, false );
var netv = Desktop.ActiveLayout.CreateView( "netview", "netview" );
netv.SetAttributeValue( "url", "http://softimage.wiki.softimage.com/index.php/Main_Page" );
netv.Move( 0, 0 );

See Also

View.Resize View.Rectangle