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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

RichText.GeneratePDF

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
MBS( "RichText.GeneratePDF" { ; Filename } )   More

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 FileMaker tutorial videos

Start Chat