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
)
Function PagePicture (
clientX As Integer,
clientY As Integer,
width As Integer,
height As Integer
) As Image
Dim instance As IWebPage
Dim clientX As Integer
Dim clientY As Integer
Dim width As Integer
Dim height As Integer
Dim returnValue As Image
returnValue = instance.PagePicture(clientX,
clientY, width, height)
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:
ImageThe captured image.
Exceptions See Also