Tutorial: window.setZoomLevel

window.setZoomLevel

Sets the zoom level of the window.

Example

var finWindow = fin.desktop.Window.getCurrent();

finWindow.setZoomLevel(3.5, function () {
    console.log('success');
}, function(error) {
    console.log('error:', error);
});