 | ImagingCaptureDesktopImage Method (Rectangle) |
Captures an image region from the desktop.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Bitmap CaptureDesktopImage(
Rectangle rect
)
Public Shared Function CaptureDesktopImage (
rect As Rectangle
) As Bitmap
Parameters
- rect
- Type: System.DrawingRectangle
The region to capture.
Return Value
Type:
BitmapThe captured image region.
See Also