Home | Sign in | English EN
  • Limitation of RTF format
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Loads a file in RTF format in an RTF control (found in a window or in a WINDEV report).
Caution: The tables and the images found in the RTF document cannot be retrieved.
// Load the "C:\Temp\ExampleFile.RTF" file in the EDT_Edit1 control
RTFLoad(EDT_Edit1, "C:\Temp\ExampleFile.RTF")
<Result> = RTFLoad(<Name of RTF Control> , <Name of RTF File>)
<Result>: Boolean
  • True if the file was loaded,
  • False otherwise. The status report of error is returned by ErrorInfo.
<Name of RTF Control>: Character string (with or without quotes)
Name of RTF control to use.
<Name of RTF File>: Character string (with quotes)
Name of RTF file to open. This file can be found on a disk accessible from the current computer or in the application library (WDL).

Limitation of RTF format

The format of RTF files supported by WINDEV is the same as the RTF format supported by "Wordpad" (up to Windows XP). Some additional limits must be noticed when exporting a report to an RTF document (the tables are not supported for instance).
If the RTF file is generated by another tool (Word, ...), we advise you to open the file in Wordpad in order to check the compatibility of RTF. The display of the file in Wordpad will provide a better preview of what will be printed.
In all cases, we recommend that you re-save the file in Wordpad to force the format of RTF. RTFLoad is used to force the format of RTF with WINDEV directly. To do so, RTFLoad must be used to assign the RTF control.
Component: wd260obj.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment