var printInfo = new GC.Spread.Sheets.Print.PrintInfo();
printInfo.orientation(GC.Spread.Sheets.Print.PrintPageOrientation.portrait);
printInfo.margin({top:0, bottom:0, left:0, right:0, header:0, footer:0});
var sheet = spreadtemp.getSheet(0);
sheet.printInfo(printInfo);
spreadtemp.print();
如上设置,问题还是能再现。
|