Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides
New in version: 5.4 6.0 6.1 6.2 6.3 6.4 6.5 7.0 7.1 7.2 Statistic
Renders the webview to a picture.
|WebViewerRef||Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.|
The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG.
The filename to use for the picture. Default is "image" with the extension matching the image type.
The resolution to render the image with. Default is 72.
Returns a container with a JPEG picture of the webpage. You can store it in a media field.
DescriptionRenders the webview to a picture.
Added Windows support in version 3.0. Due the way we capture image on Windows (we ask webviewer to print to image), some things do not show up in the image. In that case, please use WebView.Screenshot function.
On Mac you can use WebView.RenderPDF to get a PDF of the website.
For Mac OS X the image size is the size of the full website. On Windows we only capture the area of the webviewer, so you may see scrollbars.
For OS X please use WebView.SetPreferences to set whether to include background images.
Not supported for WebKit 2.x (FileMaker 16 Mac).
Feedback: Report problem or ask question.