ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing 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
Creates a character string with the data of a Document variable.
This string can be saved in a specific format thereafter.
Example
MyDocument is Document
 
MyString is string
MyString = MyDocument.ToText()
// Save in a text file
fSaveText("C:\temp\Content.txt", MyString)
Syntax
<Result> = <Document>.ToText()
<Result>: Character string
  • Character string containing the data.
  • Empty string ("") if an error occurred or if there is no data to extract.
<Document>: Document or String variable
Name of the Document variable to be used.
Component: wd300mdl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help