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
Searches for an element by its name in a Word Processing document. This function allows you to search for images in a document.
Example
// Delete the image named "Logo image" from the document
ElementFound is docElément <- DocFindElementByName(WP_MyDocument, "Logo image")
IF ElementFound <> Null THEN
DocDelete(ElementFound)
END
Syntax
<Result> = DocFindElementByName(<Document> , <Element name>)
<Result>: docElement variable
  • docElement variable corresponding to the searched element,
  • Null if no element was found.
<Document>: Control name or Document variable
Element where the search will be performed. This element can correspond to:
  • WINDEV the name of a Word Processing control.
  • a variable of type Document.
<Element name>: Character string
Name of the element to find.
Business / UI classification: UI Code
Component: wd290mdl.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/23/2022

Send a report | Local help