[This is preliminary documentation and is subject to change.]
Changes window position and size to specified Rectangle
Namespace: Tools.WindowsT.NativeTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public void Move( Rectangle Rectangle ) |
| Visual Basic |
|---|
Public Sub Move ( _ Rectangle As Rectangle _ ) |
| Visual C++ |
|---|
public: void Move( Rectangle Rectangle ) |
| F# |
|---|
member Move : Rectangle:Rectangle -> unit |
| JScript |
|---|
public function Move( Rectangle : Rectangle ) |
Parameters
- Rectangle
- Type: System.Drawing..::..Rectangle
Defines new window size and position
Remarks
Rectangle.Location should be in screen coordibates for top-level windows and in parent's coordinates for windows with Parent
Exceptions
| Exception | Condition |
|---|---|
| Tools.API..::..Win32APIException | Moving failed, ie. Handle is invalid |