Closed liuzhen88 closed 6 years ago
See the code here: xmlWorksheet
const sheet = file.addSheet('hello');
sheet.afterMake = (xsheet) => {
xsheet.pageMargins.left = 0.7875;
xsheet.pageMargins.right = 0.7875;
xsheet.pageMargins.top = 1.05277777777778;
xsheet.pageMargins.bottom = 1.05277777777778;
xsheet.pageMargins.header = 0.7875;
xsheet.pageMargins.footer = 0.7875;
};
i want to set execel page margin, how to do this ?