Deletes an element from a document. This element is deleted from its associated document.
// 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
<Element>: docElement variable
Name of the docElement variable corresponding to element to delete.