|
|
|
|
|
TextToRTF (Function) In french: TexteVersRTF Converts text to Rich Text Format.
sTextInRTF is string sTextInRTF = TextToRTF("WINDEV is a great tool" + CR + Â ... "Developing applications is really fun") Â // sTextInRTF contains the string with the RTF tags: // {\rtf1\ansi\ansicpg1252\deff0{\fonttbl // {\f0\froman\fcharset0 Times New Roman;} } // {\*\generator WDTRAD 1.0;} // {"WINDEV is a great tool\line // Developing applications is really fun} }
Syntax
<Result> = TextToRTF(<Text>)
<Result>: Character string String in Rich Text Format. <Text>: Character string String to be converted to RTF. Remarks Special case In a Unicode project, Unicode strings with characters that use multiple alphabets will not be correctly converted to RTF. Only characters of the current alphabet will be converted to RTF. The rest will appear with '?'.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|