DocuVieware Reference Guide
GetViewerScrollTop
Reference Guides > JavaScript API > Actions > Interface > GetViewerScrollTop
 GetViewerScrollTop

This function returns the number of pixels the content of the viewer is vertically scrolled.

GetViewerScrollTop: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.

Return Value

Number of pixels the content of the viewer is vertically scrolled, -1 if error.