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
RichText.GeneratePDF
Generates a PDF from the current rich text document.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RichText | 5.1 | Yes | No | No | Yes, macOS only | No |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Filename | The desired file name. | test.png | Optional |
Result
Returns PDF container or error.
Description
Generates a PDF from the current rich text document.Examples
Convert HTML to PDF:
Set Variable [ $r ; Value: MBS( "RichText.ReadHTML"; "<html><body><p><b>Schokoladenplätzchen</b></p></body></html>" ) ]
Set Variable [ $r ; Value: MBS( "RichText.GeneratePDF"; "test.pdf" ) ]
Set Field [ RegEx::test ; $r ]
See also
Blog Entries
Created 14th March 2015, last changed 25th November 2017
RichText.FormattedText - RichText.HTMLText
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins