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.Save
Saves the current PDF to a container value which you can assign to a container field.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
DynaPDF | 3.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Paid |
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.
See Plugin.SetPreviewSize to control size of preview picture.
Examples
Save PDF:
Set Field [ MyTable::ContainerField; MBS( "DynaPDF.Save"; $PDF; "report.pdf" ) ]
See also
- DynaPDF.Lab
- DynaPDF.ScaleCoords
- DynaPDF.SetAlpha
- DynaPDF.SetImportFlags
- DynaPDF.SetImportFlags2
- DynaPDF.SetOrientationEx
- DynaPDF.Table.Create
- DynaPDF.Table.Draw
- DynaPDF.WriteFTextEx
- DynaPDF.WriteStyledText
Release notes
- Version 11.5
- Fixed documentation for DynaPDF.SaveAndSignFileExt and added missing ContactInfo parameter.
- Version 11.1
- Fixed bug in DynaPDF.SaveAndSignFileExt function.
- Version 11.0
- Added DynaPDF.SaveAndSignFileExt function to sign PDF file with 2048 or 4096 bit key length.
- 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.
Example Databases
- DynaPDF/Bookmarks
- DynaPDF/DynaPDF Test
- DynaPDF/Highlight Text
- DynaPDF/Multi Column Output
- DynaPDF/Picture to PDF
- DynaPDF/Report
- DynaPDF/Styled Text
- DynaPDF/WriteFText
- Mac and iOS/PDFKit/Pictures to PDF
- OCR/OCR with DynaPDF
Blog Entries
- 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, version 5.1pr9
- Introducing DynaPDF to MBS Filemaker Plugin
FileMaker Magazin
Created 18th August 2014, last changed 4th October 2021
DynaPDF.RoundRectEx - DynaPDF.SaveAndSignFile
Feedback: Report problem or ask question.
