| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Window.AsPDF
Renders the window as PDF so you can save it in a container value. Includes a JPEG preview.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Window | 2.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "Window.AsPDF"; WindowRef { ; FileName; DontRenderPreview } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 | |
| FileName | The filename for the PDF file. Default is "window.pdf". | "mywindow.pdf" | Optional |
| DontRenderPreview | Pass 1 to not create a JPEG with preview of first page as part of the container. | 0 | Optional |
Description
Renders the window as PDF so you can save it in a container value. Includes a JPEG preview.Examples
Queries PDF of current window:
MBS( "Window.AsPDF")
See also
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 5.1pr1
- MBS Filemaker Plugin 2.4 release notes
- MBS Filemaker Plugin, version 2.4pr3
- MBS Filemaker Plugin, version 2.3pr4
This function checks for a license.
Created 18th August 2014, last changed 9th March 2015