PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
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("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: wd270mdl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment