Reference Guide
Reference Guides / JavaScript API / Actions / Zoom / SetZoomFitViewer
In This Topic
    SetZoomFitViewer
    In This Topic
     SetZoomFitViewer

    This function sets the zoom level automatically in order to fit the document to the viewer.

    SetZoomFitViewer: 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.