Click or drag to resize
Ranorex

ImagingCaptureDesktopImage Method (Element)

Captures an image of element from the desktop.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Bitmap CaptureDesktopImage(
	Element element
)

Parameters

element
Type: Ranorex.CoreElement
The element to capture or null to capture the whole desktop.

Return Value

Type: Bitmap
The captured image.
See Also