Tutorial: application.setZoomLevel

application.setZoomLevel

Sets the zoom level of the application. The original size is 0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively.

Example

var application = fin.desktop.Application.getCurrent();

application.setZoomLevel(3, function () {
    console.log('success');
}, function(error) {
    console.log('error:', error);
});