Click or drag to resize
Ranorex

ImagingCaptureImage Method (Element)

Captures an image of an element.

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

Parameters

element
Type: Ranorex.CoreElement
The element to capture.

Return Value

Type: Bitmap
The captured image.
Remarks
Note that the element must be visible to capture a useful image.
See Also