PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.
Example
MyString is string
MyString = DocToText(WP_MyDocument)
// Save in a text file
fSaveText(MyString, "C:\temp\Content.txt")
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 character string (with or without quotes)
Document to use. This document corresponds to:
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mdl.dll
Linux wd230mdl.so
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment