Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

RichText.GeneratePDF

Generates a PDF from the current rich text document.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RichText 5.1 Yes No Yes, macOS only No No

MBS( "RichText.GeneratePDF" { ; Filename } )

Parameters

Parameter Description Example value
Filename Optional
The desired file name.
test.png

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

Created 14th March 2015, last changed 25th November 2017


RichText.FormattedText   -   RichText.HTMLText

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins