IHTMLDocument2::images Property

Gets a pointer to the IHTMLElementCollection interface of the zero-based collection of all of the images in an HTML document. The images are in the same order as they appear in the document.

Syntax

HRESULT IHTMLDocument2::get_images(IHTMLElementCollection **p);

Parameters

  • p
    A pointer to the IHTMLElementCollection interface of the images collection.

Return Value

Returns S_OK if successful, or an error value otherwise.