PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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 text to Rich Text Format.
Example
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 (with quotes)
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 '?'.
Component: wd260rtf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment