Click or drag to resize
Ranorex

ImagingCaptureImageAuto Method (Element)

Captures an image of the element even if it is hidden by other elements. If this does not succeed, the visible portion of the element is captured using a screenshot.

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

Parameters

element
Type: Ranorex.CoreElement
The element to capture.

Return Value

Type: Bitmap
The captured image.
See Also