Click to return to the Reusing Browser Technology home page    
IHTMLCurrentStyle::get_vi...     IHTMLCurrentStyle::get_wo...     IHTMLCurrentStyle Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLCurrentStyle::get_width Method


Retrieves the current value of the width property of the element, in pixels.

Syntax

HRESULT get_width(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure returning the width property of the element.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.