Click to return to the Reusing Browser Technology home page    
IHTMLImageElementFactory ...     IHTMLImgElement Interface     IHTMLImageElementFactory ...    
Web Workshop  |  Reusing Browser Technology

IHTMLImageElementFactory::create Method


Creates a new IMG element of the specified width and height.

Syntax

HRESULT create(
    VARIANT width,
    VARIANT height,
    IHTMLImgElement **ppImgElement
);

Parameters

width
Width, in pixels, of the new IMG element.
height
Height, in pixels, of the new IMG element.
ppImgElement
Address of a variable that receives an interface pointer to the new IMG element.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IHTMLImgElement


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.