Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Renders the web view to a PDF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 3.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | ||
Filename | The filename to use for the picture. Default is "image" with the extension matching the image type. | "test.jpg" | Optional |
DontRenderPreview | Pass 1 to not create a JPEG with preview of first page as part of the container. | 0 | Optional |
Returns a container with a PDF of the webpage (and a JPEG preview). You can store it in a media field.
Render PDF:
Set Field [ Own WebView::Container ; MBS( "WebView.RenderPDF"; $$web; "webview.pdf") ]
This function checks for a license.
Created 18th August 2014, last changed 10th November 2020