问题描述
- NPOI 设置页边距 无效
-
ISheet sheet = workbook.GetSheetAt(0);
sheet.SetMargin(MarginType.LeftMargin, (double)0.5);
sheet.SetMargin(MarginType.RightMargin, (double)0.5);
sheet.SetMargin(MarginType.BottomMargin, (double)0.5);
sheet.SetMargin(MarginType.TopMargin, (double)0.5);
sheet.FitToPage = false;我是不是漏掉了 什么
时间: 2024-09-21 05:05:29