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 21 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 23 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
New in version 23
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
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