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
Deletes an element from a document. This element is deleted from its associated document.
Example
// Delete Image elements in a document
MyDoc is Document
FOR EACH MyPara OF MyDoc.Paragraph
FOR EACH MyElement OF MyPara..Element
IF MyElement.Type = typeDocElementImage THEN
 
DocDelete(MyElement)
END
END
END
Syntax
DocDelete(<Element>)
<Element>: docElement variable
Name of the docElement variable corresponding to element to delete.
Component: wd290mdl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/31/2022

Send a report | Local help