UtilUIAutomationSliceWindowSize(IWin32Window, 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(
IWin32Window window,
Size size
)
Public Shared Function SliceWindowSize (
window As IWin32Window,
size As Size
) As Boolean
Dim window As IWin32Window
Dim size As Size
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SliceWindowSize(window,
size)
public:
static bool SliceWindowSize(
IWin32Window^ window,
Size size
)
static member SliceWindowSize :
window : IWin32Window *
size : Size -> bool
No code example is currently available or this language may not be supported.
- window IWin32Window
-
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 window As IWin32Window = NativeWindow.FromHandle(Process.GetProcessesByName("notepad").FirstOrDefault().MainWindowHandle)
SliceWindowSize(window, 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.