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:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
DynaPDF.New
Creates a new DynaPDF instance.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Paid |
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.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.
Examples
Work with PDF:
$pdf = MBS("DynaPDF.New")
# do your work
$r = MBS( "DynaPDF.Release"; $pdf )
See also
- DynaPDF.TranslateCoords
- DynaPDF.Triangle
- DynaPDF.UnLockLayer
- DynaPDF.WebLink
- DynaPDF.WriteDemoText
- DynaPDF.WriteFText
- DynaPDF.WriteFTextExRotated
- DynaPDF.WriteStyledText
- DynaPDF.WriteStyledTextEx
- DynaPDF.WriteStyledTextExRotated
Release notes
- Version 11.3
- Fixed a memory leak in DynaPDF.New function.
Example Databases
- DynaPDF/Create DeviceN ColorSpace
- DynaPDF/Create PDF with Bezier Curves
- DynaPDF/Create PDF with sum form field
- DynaPDF/Create Text as PDFA
- DynaPDF/Extract Text
- DynaPDF/List Annotations
- DynaPDF/List XFA Streams
- DynaPDF/PSD Conversion
- DynaPDF/Signature Appearance
- DynaPDF/ZUGFeRD/ZUGFeRD Extract XML
Blog Entries
- Render pictures from PDF
- Adding cutting lines for PDF in FileMaker
- Merge PDF with table of contents
- FileMaker with ZUGFeRD 2.0 and Factur-X
- Creating PDF/A in FileMaker with ZUGFeRD standard
- Normalize PDF orientation with MBS Plugins and DynaPDF
- Creating PDF/A in FileMaker with ZUGFeRD standard
- Custom function to optimize PDF in FileMaker via DynaPDF
- Optimize PDF Script
- MBS FileMaker Plugin 3.5 for OS X/Windows - More than 2100 Functions In One Plugin
FileMaker Magazin
Created 18th August 2014, last changed 24th March 2021
DynaPDF.MoveTo - DynaPDF.OpenOutputFile
Feedback: Report problem or ask question.
