DocuVieware Reference Guide
SetZoomWidthViewer
Reference Guides > JavaScript API > Actions > Zoom > SetZoomWidthViewer
 SetZoomWidthViewer

This function sets the zoom level automatically to fit the document width.

SetZoomWidthViewer: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to set the zoom mode in.

Return Value

1 if error, 0 if success.