ImgElement Object

SharePoint Designer Developer Reference

Represents an individual IMG element in an HTML document.

Interfaces
This object implements the following interfaces

Remarks

Use the images property to return an ElementCollection collection that represents a collection of all the IMG elements in a document. Use the Item method to return an ImgElement object that accesses a specific IMG element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first IMG element in the active document.

Visual Basic for Applications
Dim objImage As ImgElement
Set objImage = ActiveDocument.images.Item(0)

See Also