 | ImagingCaptureDesktopImage Method (Element) |
Captures an image of element from the desktop.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Bitmap CaptureDesktopImage(
Element element
)
Public Shared Function CaptureDesktopImage (
element As Element
) As Bitmap
Parameters
- element
- Type: Ranorex.CoreElement
The element to capture or null to capture the whole desktop.
Return Value
Type:
BitmapThe captured image.
See Also