UtilUIAutomationSliceWindowPosition(Process, Point) Method
Slices the position of the main window of the specified process.
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(
Process pr,
Point location
)
Public Shared Function SliceWindowPosition (
pr As Process,
location As Point
) As Boolean
Dim pr As Process
Dim location As Point
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SliceWindowPosition(pr,
location)
public:
static bool SliceWindowPosition(
Process^ pr,
Point location
)
static member SliceWindowPosition :
pr : Process *
location : Point -> bool
No code example is currently available or this language may not be supported.
- pr Process
-
The process.
- 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 pr As Process = Process.GetProcessesByName("notepad").FirstOrDefault
SliceWindowPosition(pr, 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.