Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

DynaPDF.New

Creates a new DynaPDF instance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes

MBS( "DynaPDF.New" { ; SerialNumber } )

Parameters

Parameter Description Example value
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.
$serial

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.

Examples

Work with PDF:

$pdf = MBS("DynaPDF.New")
# do your work
$r = MBS( "DynaPDF.Release"; $pdf )

See also

Example Databases


DynaPDF.MoveTo   -   DynaPDF.OpenOutputFile

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins