B. *_*non 2 excel excel-2007 epplus epplus-4
在 Excel Interop 中,我可以将标题行设置为在后续页面上重复,如下所示:
_xlSheet.PageSetup.PrintTitleRows = String.Format("${0}:${0}", COLUMN_HEADING_ROW);
Run Code Online (Sandbox Code Playgroud)
它是如何在 EPPlus 中完成的?我尝试通过键入以下内容来刺激 Intellisense 给我一个线索:
prodUsageWorksheet.PrinterSettings.
Run Code Online (Sandbox Code Playgroud)
...但没有“打印”(“PrintArea”除外)或“标题”提供给我...
我想你想设置RepeatRows:
prodUsageWorksheet.PrinterSettings.RepeatRows = new ExcelAddress("$1:$1");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1018 次 |
| 最近记录: |