Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
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.
For Windows this function is only supported in FileMaker Pro when using Internet Explorer as engine behind the Web Viewer, but not when Microsoft Edge/Chrome engine is used.
Store screenshot in container:
Set Variable [$image; Value:MBS("WebView.Screenshot"; "web")]
Set Field [Anlagen::My Container; $image]
Created 18th August 2014, last changed 29th September 2020
WebView.RunJavaScriptReturnTitle - WebView.Scrollbar.getHorizontalMaximum
Feedback: Report problem or ask question.