Take a window screenshot and return
Image.
Namespace:
robotManager.Helpful
Assembly:
robotManager (in robotManager.dll)
public static Image ScreenshotWindow(
IntPtr mainWindowHandle,
int maxHeight,
int maxWidth
)
Public Shared Function ScreenshotWindow ( _
mainWindowHandle As IntPtr, _
maxHeight As Integer, _
maxWidth As Integer _
) As Image
public:
static Image^ ScreenshotWindow(
IntPtr^ mainWindowHandle,
int^ maxHeight,
int^ maxWidth
)
Parameters
- mainWindowHandle
- Type: IntPtr
The main window handle.
- maxHeight
- Type: Int32
The maximum height.
- maxWidth
- Type: Int32
The maximum width.
Return Value
Image.