Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Window.AsPDF

Renders the window as PDF so you can save it in a container value. Includes a JPEG preview.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 2.3 Yes No No No No
MBS( "Window.AsPDF"; WindowRef { ; Filename; DontRenderPreview } )   More

Parameters

Parameter Description Example value
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 Optional
The filename for the PDF file. Default is "window.pdf".
"mywindow.pdf"
DontRenderPreview Optional
Pass 1 to not create a JPEG with preview of first page as part of the container.
0

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

Created 18th August 2014, last changed 9th March 2015


Window.AddBottomOverlay   -   Window.ClearFocus

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos