Click or drag to resize
Ranorex

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
Syntax
public static Bitmap CaptureDesktopImage(
	Rectangle rect
)

Parameters

rect
Type: System.DrawingRectangle
The region to capture.

Return Value

Type: Bitmap
The captured image region.
See Also