Moves a view at a global screen coordinate.
View.Move( Int32 in_x, Int32 in_y ); |
View.Move( XPos, YPos ); |
| Parameter | Type | Description |
|---|---|---|
| XPos | Long | The new view's position in X. |
| YPos | Long | The new view's position in Y. |
/*
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 );
|