Click or drag to resize

IWebPagePagePicture Method (Int32, Int32, Int32, Int32)

Captures an image of the specified rectangular area on a scrollable page.

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
Image PagePicture(
	int clientX,
	int clientY,
	int width,
	int height
)

Parameters

clientX
Type: SystemInt32
The X-coordinate of the left edge of the area to capture.
clientY
Type: SystemInt32
The Y-coordinate of the top edge of the area to capture.
width
Type: SystemInt32
The width of the area to capture.
height
Type: SystemInt32
The height of the area to capture.

Return Value

Type: Image
The captured image.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also