RanorexRanorex Documentation
CaptureImageAuto Method (element)
NamespacesRanorexImagingCaptureImageAuto(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.
Declaration Syntax
C#Visual BasicVisual C++
public static Bitmap CaptureImageAuto(
	Element element
)
Public Shared Function CaptureImageAuto ( _
	element As Element _
) As Bitmap
public:
static Bitmap^ CaptureImageAuto(
	Element^ element
)
Parameters
element (Element)
The element to capture.
Return Value
The captured image.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)