Spire.PDF 7.2.0已发布。该版本支持检测PDF是否是加密文档,支持检测PDF是否是加密文档,增强了转换PDF 到图片/Doc/SVG的功能。此外,该版本还修复了打印PDF时出现的问题。详情请阅读以下内容。
新功能:
- 支持转换PDF为灰度文档
PdfGrayConverter convert = new PdfGrayConverter(inputFile);
convert.ToGrayPdf(outputFile);
PdfDocument.IsPasswordProtected(inputFile);
public CustomPKCS7SignatureFormatter(X509Certificate2 certificate)
{
if (null == certificate)
{ throw new ArgumentNullException("certificate"); }
m_certificate = certificate;
Parameters.Add("Filter", "Adobe.PPKMS");
Parameters.Add("SubFilter", "adbe.pkcs7.detached");
Parameters.Add("SignatureLength", 975);
Parameters.Add("SoftwareModuleName", "Create by Spire.Pdf");
}
问题修复:
- 修复了加载XPS文档抛异常“There is an error in XML document”的问题
- 修复了转换PDF到图片内容不正确的问题
- 修复了打印PDF内容丢失的问题
- 修复了打印PDF边框丢失的问题
- 修复了转换PDF到Doc乱码的问题
- 修复了合并文档后,扁平化表单时抛异常“KeyNotFoundException”的问题
- 修复了创建的PdfGoToAction跳转位置不正确的问题
- 修复了PDF转SVG图片变得不透明的问题
- 修复了多次签名仅最后一次有效的问题
- 修复了设置两端对齐结果不正确的问题
- 修复了生成的结果文档在Adobe中打开显示不正确的问题
- 修复了在FIPS模式下给文档加密时抛异常“Document encryption is not allowed in FIPS mode”的问题
- 修复了绘制grid不正确的问题
- 修复了添加SVG到PDF中内容不正确的问题
- 修复了PDF被压缩后图片发生旋转的问题
- 修复了打印PDF抛异常“索引超出了数组界限”的问题
- 修复了转PDF/A-3B,结果文档在福昕阅读器中未被识别的问题
获取Spire.PDF 7.2.0,请点击: