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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

QLPreviewPanel.AddPDF

Adds a PDF to the preview items.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
QuickLook 4.3 Yes No No No Yes

MBS( "QLPreviewPanel.AddPDF"; PDF { ; Title } )

Parameters

Parameter Description Example value
PDF The PDF. $pdf
Title Optional
The title to use.
"Hello World"

Result

Returns OK or error.

Description

Adds a PDF to the preview items.
You can pass a container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.

Either we use file path from FileMaker's external container storage directly or we write a temporary file, which is cleared later when app quits or panel is cleared.

See also

Example Databases

Created 18th August 2014, last changed 15th August 2018


QLPreviewPanel.AddImage   -   QLPreviewPanel.Clear

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins