Retrieves the URL of a lower-resolution image to display.
Syntax
HRESULT get_lowsrc( BSTR *p );
Parameters
- p
- Address of a string (BSTR) variable that receives the URL.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
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.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the URL of a lower-resolution image to display.
Syntax
HRESULT put_lowsrc( BSTR v );
Parameters
- v
- String (BSTR) that specifies the URL to set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
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.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0