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 from the data:
  • found in a Word Processing control or in a Word Processing document.
  • found in a paragraph of a Word Processing control.
This string can be saved in a specific format thereafter.
Example
MyString is string
MyString = DocToText(WP_MyDocument)
// Save in a text file
fSaveText("C:\temp\Content.txt", MyString)
Syntax
<Result> = DocToText(<Document>)
<Result>: Character string
  • Character string containing the data.
  • Empty string ("") if an error occurred or if there is no data to extract.
<Document>: Document variable or control name
Document to use. This document corresponds to:
  • WINDEV the name of a Word Processing control.
  • a variable of type Document.
  • a variable of type docParagraph.
Component: wd290mdl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/07/2022

Send a report | Local help