ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / RTF functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the text without the formatting characteristics specific to RTF. This text can be found:
  • in an edit control in RTF format.
  • in a character string.
  • in an RTF control of a WINDEV report.
The text without formatting can be used to perform a search for example.
Reminder: By default, when retrieving the content of an RTF control, the retrieved value contains several formatting tags.
For example: "\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;".
Example
Syntax
<Result> = RTFToText(<RTF text or Name of RTF control>)
<Result>: Character string
Text found in the RTF control (without the RTF tags).
<RTF text or Name of RTF control>: Character string
  • Name of RTF control.
    iPhone/iPad This type of parameter is not supported.
  • Character string in RTF.
Remarks
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help