Method SetWindowPositionAndSize
| Edit this page View SourceSetWindowPositionAndSize(nint, double, double, double, double)
Positions and resizes the window
Declaration
public static void SetWindowPositionAndSize(nint hwnd, double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
nint | hwnd | Window handle |
double | x | Left side of the window in device independent pixels |
double | y | Top side of the window in device independent pixels |
double | width | Width of the window in device independent pixels, or |
double | height | Height of the window in device independent pixels, or |