|
|
|
|
DocFindElementByName (Function) In french: DocRechercheElémentParNom Searches for an element by its name in a Word Processing document. This function allows you to search for images in a document.
// 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: 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|