Click to return to the Reusing Browser Technology home page    
IHTMLStyle::get_position ...     IHTMLStyle::get_posTop Me...     IHTMLStyle Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLStyle::get_posLeft Method


Retrieves the left position of the element in pixels.

Syntax

HRESULT get_posLeft(
    float *p 
) ;

Parameters

p
Address of a variable that receives the left position.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Unlike the left property, this property's value is a floating-point number, not a string.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLStyle::put_posLeft Method


Sets the left position of the element in pixels.

Syntax

HRESULT put_posLeft(
    float v 
);

Parameters

v
Floating-point value that specifies the left position.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Setting this property changes the value of the left position but leaves the units designator for the property unchanged.

Unlike the left property, this property's value is a floating-point number, not a string.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.