IHTMLAreaElement::get_altIHTMLAreaElement::get_alt*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLAreaElement::focus
*Next Topic: IHTMLAreaElement::get_coords

IHTMLAreaElement::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.

p
Address of a string variable that receives the optional text.

See also put_alt

Up Top of Page


IHTMLAreaElement::put_alt


HRESULT put_alt(
    BSTR v
);

Sets the optional text, which is used 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.