前端用的anugular 版本
"@grapecity/spread-excelio": "^12.2.5",
"@grapecity/spread-sheets": "^12.2.5",
"@grapecity/spread-sheets-angular": "^12.2.5",
"@grapecity/spread-sheets-pdf": "^12.2.5",
"@grapecity/spread-sheets-print": "^12.2.5",
打印设置如下:
var printInfo = sheet.printInfo();
printInfo.paperSize(new GC.Spread.Sheets.Print.PaperSize(GC.Spread.Sheets.Print.PaperKind.a4));
printInfo.margin({ top: 0, bottom: 0, left: 0, right: 0, header: 0, footer: 0 });
printInfo.showColumnHeader(GC.Spread.Sheets.Print.PrintVisibilityType.hide);//获取或设置是否打印列标题。
printInfo.showRowHeader(GC.Spread.Sheets.Print.PrintVisibilityType.hide);
printInfo.showBorder(false);
//是否打印网格线(默认打印)
printInfo.showGridLine(false);
printInfo.zoomFactor(0.90);
这个是打印效果
检验表193-交通标志实测项目现场质量检验报告单.zip
(20.83 KB, 下载次数: 145)
|
|