Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_pixelHeight Next Topic: IHTMLStyle::get_pixelTop |
IHTMLStyle::get_pixelLeft
HRESULT get_pixelLeft( long *p );Retrieves the left position of the element, in pixels.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the left position.
Unlike the left attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelLeft
IHTMLStyle::put_pixelLeft
HRESULT put_pixelLeft( long v );Sets the left position of the element, in pixels.
- Returns S_OK if successful, or an error value otherwise.
- v
- Long integer value specifying the left position. Setting this property changes the value of the left position without changing the units designator.
Unlike the left attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also get_pixelLeft
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.