Click to return to the Reusing Browser Technology home page    
IHTMLRect::get_bottom Met...     IHTMLRect::get_right Meth...     IHTMLRect Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLRect::get_left Method


Retrieves the value of the rectangle's left property.

Syntax

HRESULT get_left(
    long *p 
);

Parameters

p
Address of a long variable that receives the value of the left 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_left Method


Sets the value of the rectangle's left property.

Syntax

HRESULT put_left(
    long v 
);

Parameters

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