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
imageFormat Specifies the format used to save the image.
zoomFactor 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.
errorCallback Optional. Is called when the operation failed with an error.