UtilUIAutomationSliceWindowSize(IntPtr, Size) Method
Slices the size of the specified window.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SliceWindowSize(
IntPtr hWnd,
Size size
)
Public Shared Function SliceWindowSize (
hWnd As IntPtr,
size As Size
) As Boolean
Dim hWnd As IntPtr
Dim size As Size
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SliceWindowSize(hWnd,
size)
public:
static bool SliceWindowSize(
IntPtr hWnd,
Size size
)
static member SliceWindowSize :
hWnd : IntPtr *
size : Size -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window.
- size Size
-
The new window size.
Boolean
if successful
;
otherwise.
This is a code example.
No code example is currently available or this language may not be supported.
Dim hWnd as IntPtr = Process.GetProcessesByName("notepad").FirstOrDefault().MainWindowHandle
SliceWindowSize(hWnd, New Size(+100, -50))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.