Skip to main content
A newer version of this page is available. .

ASPxClientUtils.GetDocumentScrollTop Method

Returns the distance between the top edge of the document and the topmost portion of the content currently visible in the window.

Declaration

static GetDocumentScrollTop(): number

Returns

Type Description
number

An integer value representing the distance (in pixels) between the top edge of the document and the topmost portion of the content currently visible in the window.

Remarks

For more information on how to access the dimensions and locations of elements on the page through the Dynamic HTML (DHTML) Object Model, see the Measuring Element Dimension and Location topic in MSDN.

See Also