UtilUIAutomationSliceWindowPosition(IWin32Window, Point) Method
Slices the position 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 SliceWindowPosition(
IWin32Window window,
Point location
)
Public Shared Function SliceWindowPosition (
window As IWin32Window,
location As Point
) As Boolean
Dim window As IWin32Window
Dim location As Point
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SliceWindowPosition(window,
location)
public:
static bool SliceWindowPosition(
IWin32Window^ window,
Point location
)
static member SliceWindowPosition :
window : IWin32Window *
location : Point -> bool
No code example is currently available or this language may not be supported.
- window IWin32Window
-
The window.
- location Point
-
The new window location.
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)
SliceWindowPosition(window, New Point(+10, -100))
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.