IHTMLStyle::get_pixelTopIHTMLStyle::get_pixelTop*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_pixelLeft
*Next Topic: IHTMLStyle::get_pixelWidth

IHTMLStyle::get_pixelTop


HRESULT get_pixelTop( 
   long *p 
);

Retrieves the top position of the element, in pixels.

p
Address of a variable that receives the top position.

Unlike the top attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.

See also put_pixelTop

Up Top of Page


IHTMLStyle::put_pixelTop


HRESULT put_pixelTop(
    long v 
);

Sets the top position of the element, in pixels.

v
Long integer value specifying the top position. Setting this property changes the value of the top position without changing the units designator.

Unlike the top attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.

See also get_pixelTop


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.