getScreenShot in edge is opening a new window without any contents. This works in Chrome, Firefox, and Opera without problem. Here is the code
api.start(function () {
$("#screenshot").click(function () {
api.getScreenShot("image/png", function (err, result) {
var height = $("#model-iframe").height();
var width = $("#model-iframe").width();
if (height < 100) {
height = 100;
}
if (width > 100) {
width = 100;
}
window.open(result, "_blank");
});
});
});