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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Reads text file from container.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RichText | 3.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Container | The container value to read from. | $data |
Returns OK or error message.
Read container field:
MBS( "RichText.ReadContainer"; Test::ContainerField )
Read container in one formula:
Let ( [
r = MBS( "RichText.ReadContainer"; MyContainer );
text = MBS( "RichText.FormattedText" )
]; text )
Convert doc/docx/rtf file in container to PDF:
Set Variable [$temppath; Value:MBS( "Path.AddPathComponent"; MBS( "Folders.UserTemporary" ); "temp.pdf")]
Set Variable [$r; Value:MBS( "RichText.ReadContainer"; test::MyContainerDoc )]
Set Variable [$r; Value:MBS( "RichText.WritePDF"; $temppath )]
Set Variable [$r; Value:MBS( "RichText.Release" )]
Set Field [test::MyContainerPDF; MBS("Files.ReadFile"; $temppath; "PDF"; "test.pdf")]
This function checks for a license.
Created 18th August 2014, last changed 14th August 2017