Click or drag to resize
Ranorex

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
Syntax
public Bitmap CaptureFullPageScreenshot(
	int redrawRetries,
	double compareThreshold,
	int compareDelay,
	WebDocumentCapturePageFlags flags = WebDocumentCapturePageFlags.None,
	Action<WebDocument, int, int> onBeforeScrollCallback = null
)

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: Bitmap
A bitmap with the full page screen-shot.
Remarks
The CSS modification flags are currently experimental.
See Also