Spire.PDF for .NET 10.3.16

Spire.PDF for .NET is a professional PDF API applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core, .NET 5.0, .NET 6.0, .NET 7.0, MonoAndroid and Xamarin.iOS ) application. Using this .NET PDF library, you can implement rich capabilities to create PDF files from scratch or process existing PDF documents entirely through C#/VB.NET without installing Adobe Acrobat.

Many rich features can be supported by the .NET PDF API, such as adding digital signature, including timestamp in signature, creating PDF Portfolio, PDF text/attachment/image extract, PDF merge/split, metadata update, section, graph/image drawing and inserting, table creation and processing, and importing data etc. Besides, Spire.PDF for .NET can be applied to easily converting Text, Image, SVG ,HTML to PDF and convert PDF to Excel with C#/VB.NET in high quality.

Spire.PDF 10.3.16 发布。该版本支持获取找到的文本的字体和字号,优化了压缩PDF的效果,还修复了XPS转换为PDF时出现的一些问题。下面列出了更多详细信息。

以下是此版本中所做的更改列表

类别 ID 描述
新功能 SPIREPDF-5779 支持获取查找到的文本的字体和字号。
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile("test.pdf");
PdfTextFindOptions findOptions = new PdfTextFindOptions();
findOptions.Parameter = TextFindParameter.IgnoreCase;
foreach (PdfPageBase page in pdf.Pages)
{
  PdfTextFinder finder = new PdfTextFinder(page);
  finder.Options = findOptions;
  List results = finder.Find("total");
  foreach (PdfTextFragment text in results)
  {
	  String font=text.TextStates[0].FontName;
	  float size = text.TextStates[0].FontSize;
	  String fontF = text.TextStates[0].FontFamily;
  }
}
漏洞 SPIREPDF-2912 优化了构建具有大量页面的 PDF 的时间消耗。
漏洞 SPIREPDF-6370 优化了PdfDestination方法的效果。
漏洞 SPIREPDF-6537 修复PDF表单域设置为扁平化后内容丢失的问题。
漏洞 SPIREPDF-6541 优化压缩 PDF 的时间消耗。
漏洞 SPIREPDF-6553 修复搜索高亮不生效的问题。
漏洞 SPIREPDF-6559
SPIREPDF-6579
修复了转换为灰度 PDF 时应用程序抛出“OutOfMemoryException”的问题。
漏洞 SPIREPDF-6580 修复了XPS转PDF时部分字符显示不正确的问题。
漏洞 SPIREPDF-6582 修复了将 OFD 转换为 PDF 时应用程序抛出“FormatException”的问题。
漏洞 SPIREPDF-6583 修复了将 XPS 转换为 PDF 时图像丢失的问题。
漏洞 SPIREPDF-6600 优化PDF压缩效果。
漏洞 SPIREPDF-6607 修复了将 PDF 转换为图像时应用程序抛出“ArgumentOutOfRangeException”的问题。

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-09 20:06:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-09 20:06:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-09 20:06:01       87 阅读
  4. Python语言-面向对象

    2024-04-09 20:06:01       96 阅读

热门阅读

  1. 统计各位数字都不同的数字个数 II

    2024-04-09 20:06:01       43 阅读
  2. Python零基础从小白打怪升级中~~~~~~~入门

    2024-04-09 20:06:01       40 阅读
  3. MySql数据库从0-1学习-第二天DML和DQL学习

    2024-04-09 20:06:01       35 阅读
  4. 自动化测试工具playwright

    2024-04-09 20:06:01       60 阅读
  5. Android Q Download文件存储

    2024-04-09 20:06:01       33 阅读
  6. Leetcode面试经典150_Q12整数转罗马数字

    2024-04-09 20:06:01       27 阅读
  7. git--gerrit

    2024-04-09 20:06:01       35 阅读