In This Topic
Reference Guides / JavaScript API / Actions / Document / GetCurrentZoom

GetCurrentZoom

In This Topic
 GetCurrentZoom

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

GetCurrentZoom: function (docuViewareID)

Parameters

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.