var instance; // Type: Events instance.BeforePrint = function(iframe, cancel) { };
Parameters
- iframe
- The print Dom
- cancel
- Whether cancel print
var instance; // Type: Events instance.BeforePrint = function(iframe, cancel) { };
//This example uses the BeforePrint. window.onload = function(){ var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3}); spread.bind(GC.Spread.Sheets.Events.BeforePrint, function (e, data) { alert(data.iframe + '\n' + 'cancel: ' + data.cancel); }); }