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