IHTMLImageElementFactory

IHTMLImageElementFactory


This interface is used to create new instances of the OPTION element.

IHTMLImageElementFactory Methods
create

IHTMLImageElementFactory::create

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

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

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.

See also IHTMLImgElement

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.