IHTMLStyle::get_posTopIHTMLStyle::get_posTop*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_posLeft
*Next Topic: IHTMLStyle::get_posWidth

IHTMLStyle::get_posTop


HRESULT get_posTop(
    float *p 
);

Retrieves the top position of the element.

p
Address of a variable that receives the top position.

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

See also put_posTop

Up Top of Page


IHTMLStyle::put_posTop


HRESULT put_posTop(
    float v 
);

Sets the top position of the element.

v
Floating-point value specifying the top position.

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

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

See also get_posTop


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