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.Clear
Starts a new PDF in memory or at the given path.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.Clear"; PDF { ; Path } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| The PDF reference returned from DynaPDF.New. | |||
| Path | The file path to create the PDF. | "C:\Test.pdf" | Optional |
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
Created 18th August 2014, last changed 9th July 2015
DynaPDF.CircleAnnot - DynaPDF.ClipPath
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins