Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

PDFKit.GetPDFDocument

Component: PDFKit
Version: 2.2
Mac OS X: Works
Windows: Not implemented.

MBS( "PDFKit.GetPDFDocument"; PDF; filename )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
Filename Optionally, the file name to use for the container value. "output.pdf"

Result

Returns a container with a PDF document. The plugin adds a JPEG picture for preview as well as a file name. You can store it in a media field.

Description

Creates a new PDF Document with the given PDF document.
Filename is optional. When you use an URL for the PDF, you can basicly load a new PDF from a server.

Examples

Save a PDF in a PDF reference into a container value:

MBS( "PDFKit.GetPDFDocument"; $ref; "test.pdf" )

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Nachhilfe in Kell