Click to return to the Reusing Browser Technology home page    
IHTMLRuleStyle2::get_posB...     IHTMLRuleStyle2::get_posR...     IHTMLRuleStyle2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLRuleStyle2::get_position Method


Retrieves the value of the position property of the element.

Syntax

HRESULT get_position(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that contains the element's position option.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLRuleStyle2::put_position Method


Sets the value of the position property of the element.

Syntax

HRESULT put_position(
    BSTR v
);

Parameters

v
String (BSTR) that contains the position option to set.

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.