 | 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
Syntaxpublic static Bitmap CaptureImageAuto(
Element element
)
Public Shared Function CaptureImageAuto (
element As Element
) As Bitmap
Parameters
- element
- Type: Ranorex.CoreElement
The element to capture.
Return Value
Type:
BitmapThe captured image.
See Also