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

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

GetViewerScrollLeft: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.

Return Value

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