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.Save
Saves the current PDF to a container value which you can assign to a container field.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.Save"; PDF { ; filename; Preview } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| The PDF reference returned from DynaPDF.New. | |||
| filename | Optionally the file name to be associated with the container value. The file name should include pdf file extension. |
"hello.pdf" | Optional |
| Preview | Optional, whether to include a preview JPEG. Default is 1 for including one. Pass zero to disable preview. | 1 | Optional |
Result
Returns container value with PDF file.
Description
Saves the current PDF to a container value which you can assign to a container field.The plugin also renders a JPEG for preview and includes it (with DynaPDF Pro).
If you created PDF to a file path and not in memory, this method just returns OK after closing the file.
Before you call this function, you can call DynaPDF.OpenOutputFile or DynaPDF.OpenOutputFileEncrypted to open a destination file for the PDF.
Examples
Save PDF:
Set Field [ MyTable::ContainerField; MBS( "DynaPDF.Save"; $PDF; "report.pdf" ) ]
See also
- DynaPDF.New
- DynaPDF.SaveAndSignFileWinCrypt
- DynaPDF.SaveAndSignFileWinCryptDialog
- DynaPDF.ScaleCoords
- DynaPDF.SetImportFlags
- DynaPDF.SetImportFlags2
- DynaPDF.SetMetadata
- DynaPDF.Table.Create
- DynaPDF.WriteFTextEx
- DynaPDF.WriteStyledText
Example Databases
- Barcode/QRCode PDF
- DynaPDF/Create PDF with sum form field
- DynaPDF/DynaPDF Barcodes
- DynaPDF/DynaPDF Highlight Text
- DynaPDF/PSD Conversion
- DynaPDF/Tables
- DynaPDF/WriteFText
- DynaPDF/ZUGFeRD 2.0/Factur-X Invoice
- DynaPDF/ZUGFeRD 2.0/ZUGFeRD 2.0 Invoice
- Mac and iOS/PDFKit/Pictures to PDF
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
- MBS FileMaker Plugin, version 8.2pr2
- Creating PDF/A in FileMaker with ZUGFeRD standard
- Normalize PDF orientation with MBS Plugins and DynaPDF
FileMaker Magazin
- Ausgabe 6/2020, Seite 34
- Ausgabe 3/2019, Seite 39, PDF
- Ausgabe 2/2019, Seite 27, PDF
- Ausgabe 2/2019, Seite 26, PDF
- Ausgabe 5/2018, Seite 28, PDF
- Ausgabe 1/2018, Seite 25, PDF
Release notes
- Version 10.1
- Added DynaPDF.SaveAndSignFileWinCrypt and DynaPDF.SaveAndSignFileWinCryptDialog functions.
- Version 8.2
- Added checks to DynaPDF.Optimize, DynaPDF.Print and DynaPDF.Save to complain if no pages are in document.
Created 18th August 2014, last changed 9th April 2017
DynaPDF.RoundRectEx - DynaPDF.SaveAndSignFile
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins