IHTMLImgElement::get_lowsrcIHTMLImgElement::get_lowsrc*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLImgElement::put_lowsrc
*Next Topic: IHTMLImgElement::put_vrml

IHTMLImgElement::get_lowsrc


HRESULT get_lowsrc(
    BSTR *p
);

Retrieves the URL of a lower-resolution image to display.

p
Address of a variable that receives the URL.

Setting the SRC= attribute in code has the side-effect of actually starting to load the new URL into the image area (and aborting the transfer of any image data that is already loading into the same area). Therefore, you should alter the lowsrc property before setting the src property. If the URL in the src property refers to an image that is not the same size as the image cell it is loaded into, the source image is scaled to fit.

See also put_lowsrc

Up Top of Page


IHTMLImgElement::put_lowsrc


HRESULT put_lowsrc(
    BSTR v
);

Specifies the URL of a lower-resolution image to display.

v
String specifying the URL.

Setting the SRC= attribute in code has the side-effect of actually starting to load the new URL into the image area (and aborting the transfer of any image data that is already loading into the same area). Therefore, you should alter the lowsrc property before setting the src property. If the URL in the src property refers to an image that is not the same size as the image cell it is loaded into, the source image is scaled to fit.

See also get_lowsrc


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