UtilUIAutomationResizeWindow(Process, Size) Method
Resizes 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 ResizeWindow(
Process pr,
Size size
)
Public Shared Function ResizeWindow (
pr As Process,
size As Size
) As Boolean
Dim pr As Process
Dim size As Size
Dim returnValue As Boolean
returnValue = UtilUIAutomation.ResizeWindow(pr,
size)
public:
static bool ResizeWindow(
Process^ pr,
Size size
)
static member ResizeWindow :
pr : Process *
size : Size -> bool
No code example is currently available or this language may not be supported.
- pr Process
-
The process.
- 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 pr As Process = Process.GetProcessesByName("notepad").FirstOrDefault()
ResizeWindow(pr, New Size(640, 480))
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.