Tutorial: window.getSnapshot

window.getSnapshot

Gets a base64 encoded PNG snapshot of the window.

Example

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

finWindow.getSnapshot(function (base64Snapshot) {
    console.log("data:image/png;base64," +  base64Snapshot);
});