Click to return to the Reusing Browser Technology home page    
IHTMLRect::get_left Metho...     IHTMLRect::get_top Method     IHTMLRect Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLRect::get_right Method


Retrieves the value of the rectangle's right property.

Syntax

HRESULT get_right(
    long *p 
);

Parameters

p
Address of a long variable that receives the value of the right coordinate of the rectangle. The variable receives NULL if the attribute is not set.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLRect::put_right Method


Sets the coordinate value of the rectangle's right property.

Syntax

HRESULT put_right(
    long v 
);

Parameters

v
Long number that represents the rectangle's right coordinate 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.