PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Special case
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Converts a text string into a string in RTF format.
Versions 19 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 19
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Example
sTextInRTF is string
sTextInRTF = TextToRTF("WINDEV is a great tool" + CR +  ...
"The development is child's play")
 
// 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
// Development is child's play} }
Syntax
<Result> = TextToRTF(<Text>)
<Result>: Character string
Text in RTF format.
<Text>: Character string (with quotes)
Character string in text format to convert into RTF.
Remarks

Special case

In a Unicode project, a Unicode string with characters that use multiple alphabets will not be correctly transformed into RTF. Only characters of the current alphabet will be transformed into RTF. The others will appear with '?'.
Component : wd240rtf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment