PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 an HTML string (the CR characters are replaced by <BR>, the accented characters are replaced by their equivalent in HTML, ...).
Versions 19 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
New in version 19
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WEBDEV sites in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// EDT_HTML is edit control
EDT_HTML = TextToHTML("WINDEV is a great tool" + CR + ...
"The development is child's play")
Syntax
<Result> = TextToHTML(<Text> [, <Charset used>])
<Result>: Character string
Text in HTML format. Caution: the <html> and </html> tags are not included in the result. They must be added if the result must be displayed in an HTML control.
<Text>: Character string (with or without quotes)
Name of text control or character string in text format.
<Charset used>: Optional Integer constant
Versions 18 and later
Constant identifying the character set used to write the <Text>. The current character set of WINDEV or WEBDEV is used by default (charsetCurrent constant).
See Correspondence between languages, sub-languages, character sets and nations for more details.
New in version 18
Constant identifying the character set used to write the <Text>. The current character set of WINDEV or WEBDEV is used by default (charsetCurrent constant).
See Correspondence between languages, sub-languages, character sets and nations for more details.
Constant identifying the character set used to write the <Text>. The current character set of WINDEV or WEBDEV is used by default (charsetCurrent constant).
See Correspondence between languages, sub-languages, character sets and nations for more details.
Remarks
  • To convert a RTF string into a string in HTML format, use RTFToHTML.
  • To convert a RTF string into a string in Text format, use RTFToText.
Component : wd240rtf.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment