Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

RichText.ReadText

Read rich text from text.

Component Version macOS Windows Linux Server iOS SDK
RichText 4.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "RichText.ReadText"; text { ; Encoding } )   More

Parameters

Parameter Description Example Flags
text The text for the text file. "Hello World"
Encoding The text encoding for text parameter.
Default is native.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
UTF8 Optional

Result

Returns OK or error.

Description

Read rich text from text.
This is for reading RTF text. Be sure to have right text encoding to preserve special characters.

To read styled text into RichText functions, please use RichText.SetFormattedText.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 24th October 2014, last changed 4th January 2017


RichText.ReadRTF - RichText.ReadURL