DocuVieware Reference Guide
Reference Guides > JavaScript API > Actions > Operations > GetCurrentZoom

This function retrieves the current zoom level for the specified DocuVieware™ viewer.

GetCurrentZoom: function (docuViewareID)


The identifier for the DocuVieware™ instance.

Return Value

0 if error (for instance if there is no document loaded), the current zoom level otherwise as a float value.
To get a proper value in %, you need to multiply it by 100.