FPHTMLImg Object

Microsoft FrontPage Visual Basic

FPHTMLImg Object

FPHTMLImg Multiple objects

Represents an individual IMG element in an HTML document.

Using the FPHTMLImg Object

Use the images property to return an IHTMLElementCollection collection that represents a collection of all the IMG elements in a document. Use the Item method to return an FPHTMLImg 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.

    Dim objImage As FPHTMLImg

Set objImage = ActiveDocument.images.Item(0)