Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Takes a screenshot of the area used by the WebViewer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 3.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | ||
ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. |
"JPEG" | Optional |
Filename | The filename to use for the picture. Default is "image" with the extension matching the image type. |
"test.jpg" | Optional |
Returns image for storing in container.
Store screenshot in container:
Set Variable [$image; Value:MBS("WebView.Screenshot"; "web")]
Set Field [Anlagen::My Container; $image]
This function checks for a license.
Created 18th August 2014, last changed 4th November 2021
WebView.RunJavaScriptReturnTitle - WebView.Scrollbar.getHorizontalMaximum