Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

pageYOffset property

Gets the distance, in pixels, that a document has scrolled vertically.

Internet Explorer 9

Syntax

HRESULT value = object.get_pageYOffset(* p);

Property values

Type: long

The distance the document has been scrolled.

Standards information

Remarks

When you scroll a document vertically, some content is moved outside the view of the display area. The IHTMLWindow7::pageYOffset property returns the difference between the first pixel in the content and the first pixel currently in view.

See also

IHTMLWindow7::pageXOffset

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.