Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PDFKit.OpenURL
Opens a PDF from an URL and returns a PDF Reference value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PDFKit | 2.3 | Yes | No | No | Yes, macOS only | Yes |
MBS( "PDFKit.OpenURL"; URL ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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 PDF Plugins