IHTMLImgElement::get_altIHTMLImgElement::get_alt*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLImgElement::put_alt
*Next Topic: IHTMLImgElement::put_src

IHTMLImgElement::get_alt


HRESULT get_alt(
    BSTR *p
);

Retrieves the optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents.

p
Address of a variable that receives the optional text.

See also put_alt

Up Top of Page


IHTMLImgElement::put_alt


HRESULT put_alt(
    BSTR v
);

Indicates optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents.

v
String specifying the optional text.

See also get_alt


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.