Spire.PDF 7.4.13已发布。该版本支持了在转换PDF到Excel时设置根据线条决定单元格的功能,新增了PrintSettings.IsValid属性的功能以判断打印机是否可以使用,增强了转换PDF到图片/Excel/XPS的功能,以及修复了打印PDF文档等时出现的问题。详情请阅读以下内容。
新功能:
- 支持在转换PDF到Excel时设置根据线条决定单元格
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(PDFFile);
pdf.ConvertOptions.SetPdfToXlsxOptions(PdfToXlsxLayout.Line);
pdf.SaveToFile(ExcelFile, FileFormat.XLSX);
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);
pdf.PrintSettings.PrinterName = @"Microsoft XPS Document Writer";
bool value = pdf.PrintSettings.IsValid;
问题修复:
- 优化了转换PDF到图片速度慢的问题
- 修复了转换PDF到图片内容不正确的问题
- 修复了打印多份PDF失败的问题
- 修复了转换PDF到XPS抛异常“Index was outside the bounds of the array”的问题
- 修复了给PDF添加多个数字签名,生成的PDF签名无效的问题
- 修复了打印PDF抛异常“Object reference not set to an instance of an object”的问题
- 修复了打印PDF结果不正确的问题
- 修复了转换PDF到Excel,内容不正确的问题
- 修复了绘制链接到页脚模板,抛异常“Object reference not set to an instance of an object”的问题
- 修复了绘制表格抛异常“cannot draw table, because there is no enough space for it”的问题
- 修复了PDF转Excel单元格未正确拆分的问题
获取Spire.PDF 7.4.13请点击:
获取Spire.PDF 7.4.13请点击:https://www.e-iceblue.cn/Downloads/Spire-PDF-NET.html