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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Generates a PDF from the current rich text document.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RichText | 5.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Filename | The desired file name. | test.png | Optional |
Returns PDF container or error.
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 ]
Created 14th March 2015, last changed 25th November 2017
RichText.FormattedText - RichText.HTMLText
Feedback: Report problem or ask question.