ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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:
Component: wd300mdl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help