Spire.XLS 14.2.1 现已发布。该版本支持设置页眉页脚图片的剪切位置,同时也修复了一些在转换转换XLSX文档到PDF文档和图片时出现的一些问题。新功能及问题修复详情如下。
新功能:
- 支持设置页眉页脚图片的剪切位置。
sheet.PageSetup.LeftHeaderPictureCropTop=6.15;
sheet.PageSetup.LeftHeaderPictureCropBottom=7.15;
sheet.PageSetup.LeftHeaderPictureCropLeft =7.15;
sheet.PageSetup.LeftHeaderPictureCropRight = 6.15;
sheet.PageSetup.LeftFooterPictureCropTop=0.15;
sheet.PageSetup.LeftFooterPictureCropBottom=0.15;
sheet.PageSetup.LeftFooterPictureCropLeft =0.15;
sheet.PageSetup.LeftFooterPictureCropRight =0.15;
sheet.PageSetup.CenterHeaderPictureCropTop=0.15;
sheet,PageSetup.CenterHeaderPictureCropBottom=0.15;
sheet.PageSetup.CenterHeaderPictureCropLeft=0.15;
sheet.PageSetup.CenterHeaderPictureCropRight =0.15;
sheet.PageSetup.CenterFooterPictureCropTop=0.15;
sheet.PageSetup.CenterFooterPictureCropBottom=0.15;
sheet.PageSetup.CenterFooterPictureCropLeft =0.15;
sheet.PageSetup.CenterFooterPictureCropRight=0.15;
sheet.PageSetup.RightHeaderPictureCropTop=0.15;
sheet.PageSetup.RightHeaderPictureCropBottom=0.15;
sheet.PageSetup.RightHeaderPictureCropLeft=0.15;
sheet.PageSetup.RightHeaderPictureCropRight=0.15;
sheet.PageSetup.RightFooterPictureCropTop=0.15;
sheet.PageSetup.RightFooterPictureCropBottom=0.15;
sheet.PageSetup.RightFooterPictureCropLeft=0.15;
问题修复:
- 修复了调用cellRange.ClearContents()方法后结果文档中的批注在Office365中不显示的问题。
- 修复了当工作表的名字中含有特殊字符\t时,读取出来\t为_x0009_的问题。
- 修复了转换XLSX文档到PDF文档时内容不正确的问题。
- 修复了转换XLSX文档到PDF文档时程序抛出System.ArgumentException异常的问题。
- 修复了转换XLSX文档到图片时文本内容重叠的问题。
- 修复了将.netstand2.0 dlls在.NET7.0平台做发布时出现了 “Operation is not supported on this platform” 异常的问题。
下载Spire.XLS 14.2.1,请点击: