Reference Guide
Reference Guides / JavaScript API / Actions / Interface / GetViewerScrollTop
In This Topic
    GetViewerScrollTop
    In This Topic
     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.