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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.Clear

Starts a new PDF in memory or at the given path.

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

MBS( "DynaPDF.Clear"; PDF { ; Path } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Path Optional
The file path to create the PDF.
"C:\Test.pdf"

Result

Returns OK on success.

Description

Starts a new PDF in memory or at the given path.
Writing PDF to file to disk while creating it allows PDF files to be bigger than available memory. In order to have that working well, you need to call DynaPDF.FlushPages regularly to free memory.
Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required.

Examples

Starts with a new blank PDF:

$r = MBS( "DynaPDF.Clear"; $PDF )

See also


DynaPDF.CircleAnnot   -   DynaPDF.ClipPath

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins