ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Deletes an element from a document. This element is deleted from its associated document.
Example
// Supprime les éléments de type Image dans un document
MonDoc is Document
FOR EACH MonPara OF MonDoc.Paragraph
	FOR EACH MonElement OF MonPara.Element
			IF  MonElement.Type = typeDocElementImage THEN

				DocDelete(MonElement)
			END
	END
END
Syntax
DocDelete(<Element>)
<Element>: docElement variable
Name of the docElement variable corresponding to element to delete.
Component: wd300mdl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help