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  

PDFKit.OpenURL

Opens a PDF from an URL and returns a PDF Reference value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.3 Yes No Yes, macOS only No Yes

MBS( "PDFKit.OpenURL"; URL )

Parameters

Parameter Description Example value
URL A text with an URL.

Result

Returns a number for the PDF.

Description

Opens a PDF from an URL and returns a PDF Reference value.
This value can be used in other PDFKit calls to work on the same PDF.
See also PDFKit.OpenPath and PDFKit.OpenContainer.
PDF Document reference numbers are starting at 30000 and counting up for each new document.

Use PDFKit.Release later to free the memory.

Seems to work for HTTP protocol, too. The Apple frameworks transparently handle this out of the control of the plugin. With HTTPS after redirect from HTTP is also possible. For more control, please use CURL functions.

Examples

Open the PDF with the given URL:

MBS("PDFKit.OpenURL"; "http://www.somedomain.invalid/somepath/test.pdf")

See also

Created 18th August 2014, last changed 9th February 2018


PDFKit.OpenPath   -   PDFKit.PageBounds

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins