 | WebDocumentCaptureFullPageScreenshot Method (Int32, Double, Int32, WebDocumentCapturePageFlags, ActionWebDocument, Int32, Int32) |
Captures a full page screen-shot of the WebDocument.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntaxpublic Bitmap CaptureFullPageScreenshot(
int redrawRetries,
double compareThreshold,
int compareDelay,
WebDocumentCapturePageFlags flags = WebDocumentCapturePageFlags.None,
Action<WebDocument, int, int> onBeforeScrollCallback = null
)
Public Function CaptureFullPageScreenshot (
redrawRetries As Integer,
compareThreshold As Double,
compareDelay As Integer,
Optional flags As WebDocumentCapturePageFlags = WebDocumentCapturePageFlags.None,
Optional onBeforeScrollCallback As Action(Of WebDocument, Integer, Integer) = Nothing
) As Bitmap
Parameters
- redrawRetries
- Type: SystemInt32
Number of internal redraw retries. - compareThreshold
- Type: SystemDouble
The compare threshold for scroll/redraw detection. - compareDelay
- Type: SystemInt32
The internal compare delay for scroll/redraw detection. - flags (Optional)
- Type: RanorexWebDocumentCapturePageFlags
Flags controlling the behavior of the capture operation. - onBeforeScrollCallback (Optional)
- Type: SystemActionWebDocument, Int32, Int32
An optional callback which is called before the page is scrolled while capturing.
Return Value
Type:
BitmapA bitmap with the full page screen-shot.
RemarksThe CSS modification flags are currently experimental.
See Also