Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Renders the WebViewer to a picture.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 2.1 | ✅ 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 a container with a JPEG picture of the webpage. You can store it in a media field.
Render Image:
Set Field [ Own WebView::Container ; MBS( "WebView.RenderImage"; $$web; "PNG"; "webview.png") ]
This function checks for a license.
Created 18th August 2014, last changed 31st October 2021