 | ImagingCaptureImage Method (Element) |
Captures an image of an element.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Bitmap CaptureImage(
Element element
)
Public Shared Function CaptureImage (
element As Element
) As Bitmap
Parameters
- element
- Type: Ranorex.CoreElement
The element to capture.
Return Value
Type:
BitmapThe captured image.
Remarks
Note that the element must be visible to capture a useful image.
See Also