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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
DynaPDF.New
Creates a new DynaPDF instance.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
3.5 |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
MBS( "DynaPDF.New" { ; SerialNumber } )
More
MBS(
"DynaPDF.New"; /* Creates a new DynaPDF instance. */
$SerialNumber) /* Optional; The DynaPDF serial number. If you don't provide a serial number, you run DynaPDF in demo mode. If you passed license key to
DynaPDF.Initialize function already, you don't need to pass it here a second time.e.g. $serial */
Less
Parameters
Parameter |
Description |
Example |
Flags |
SerialNumber |
The DynaPDF serial number. If you don't provide a serial number, you run DynaPDF in demo mode. If you passed license key to DynaPDF.Initialize function already, you don't need to pass it here a second time. |
$serial |
Optional |
Result
Returns reference number or error.
Description
Creates a new DynaPDF instance.
You can have multiple instances per script and run multiple scripts parallel on server, but please only use one ID in one script at a time. Accessing the same DynaPDF object via ID in two parallel running scripts can lead to trouble.
Must be paired with call to DynaPDF.Release to avoid running out of memory.
If this function returns "OK", you have an older plugin version (before 3.5).
For DynaPDF, you need an extra license as this is not included in the MBS FileMaker Plugin license. You can order DynaPDF add-on for our plugin from Monkeybread Software.
Before you can create DynaPDF instances to work with the DynaPDF commands, you need to use DynaPDF.Initialize function to initialize the library.
DynaPDF context reference numbers are starting at 20000 and counting up for each new context.
Please use DynaPDF.AppendPage to create a new page.
See also New function in DynaPDF manual.
Examples
Work with PDF:
$pdf = MBS("DynaPDF.New")
# do your work
$r = MBS( "DynaPDF.Release"; $pdf )
See also
Release notes
Example Databases
Blog Entries
FileMaker Magazin
- Ausgabe 4/2022, Seite 33
- Ausgabe 1/2022, Seite 22, PDF
- Ausgabe 1/2022, Seite 19 bis 20, PDF
- Ausgabe 5/2021, Seite 25 bis 26
- Ausgabe 6/2020, Seite 34, PDF
- Ausgabe 6/2020, Seite 32, PDF
- Ausgabe 3/2019, Seite 36, PDF
- Ausgabe 2/2019, Seite 25 bis 27, PDF
- Ausgabe 5/2018, Seite 28, PDF
- Ausgabe 1/2018, Seite 26, PDF
This function checks for a license.
Created 18th August 2014, last changed 24th March 2021
DynaPDF.MoveTo
-
DynaPDF.OpenOutputFile