Gets an image of the page's contents as in the specified format in screen resolution.
<void> Page.getImage(<ImageFormat> imageFormat, <Number> zoomFactor, <PageContent> contents, <RequestStringCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
image |
Specifies the format used to save the image. |
zoom |
Specifies a zooming factor in percent. It can be a value between 10 and 400 percent. |
contents | Specifies the image's contents. |
callback | Receives an image of the page's contents. |
error |
Optional. Is called when the operation failed with an error. |