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
DynaPDF.New
Creates a new DynaPDF instance.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.New" { ; SerialNumber } ) More
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.This instance can only be used on one thread, so please don't use it in two scripts at the same time on a server.
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.
Examples
Work with PDF:
$pdf = MBS("DynaPDF.New")
# do your work
$r = MBS( "DynaPDF.Release"; $pdf )
See also
- DynaPDF.ReplaceImage
- DynaPDF.RGB
- DynaPDF.RotateTemplate
- DynaPDF.SetImportFlags
- DynaPDF.SetMetadata
- DynaPDF.SquareAnnot
- DynaPDF.Table.Create
- DynaPDF.WriteFTextExRotated
- DynaPDF.WriteStyledTextEx
- DynaPDF.WriteText
Example Databases
- DynaPDF/Add Weblinks
- DynaPDF/Convert to 2 Pages
- DynaPDF/DynaPDF Batch Preview
- DynaPDF/DynaPDF Coordinates
- DynaPDF/List Images
- DynaPDF/List XFA Fields
- DynaPDF/Print PDF
- DynaPDF/Tables
- DynaPDF/Watermark pages
- DynaPDF/ZUGFeRD/ZUGFeRD Invoice
Blog Entries
- Swiss QR-Codes for invoices as vector graphics
- Example Script for DynaPDF.FindText and DynaPDF.WebLink
- Merge PDF with table of contents
- Create two page PDF document in FileMaker
- FileMaker with ZUGFeRD 2.0 and Factur-X
- How to Convert a PDF document to a PDF/A
- PDF Forms with MBS Plugin
- Creating PDF/A in FileMaker with ZUGFeRD standard
- Normalize PDF orientation with MBS Plugins and DynaPDF
- Creating PDF/A in FileMaker with ZUGFeRD standard
FileMaker Magazin
- Ausgabe 6/2020, Seite 34
- Ausgabe 6/2020, Seite 32
- Ausgabe 3/2019, Seite 36, PDF
- Ausgabe 2/2019, Seite 27, PDF
- Ausgabe 2/2019, Seite 26, PDF
- Ausgabe 2/2019, Seite 25, PDF
- Ausgabe 5/2018, Seite 28, PDF
- Ausgabe 1/2018, Seite 26, PDF
- Ausgabe 1/2018, Seite 24, PDF
- Ausgabe 6/2017, Seite 26, PDF
Created 18th August 2014, last changed 12nd October 2019
DynaPDF.MoveTo - DynaPDF.OpenOutputFile
Feedback: Report problem or ask question.
Links
MBS Xojo blog