尝试合并两个PDF文件并符合ADA要求。

huangapple go评论72阅读模式
英文:

Trying to merge 2 PDF files and be ADA compliant

问题

I need to create a merged PDF file in C#. This is checked in Adobe Acrobat Pro to see if it's ADA compliant. Here is my code. I am using iTextSharp to create the file.

英文:

I need to create a merged PDF file in C#. This is checked in Adobe Acrobat Pro to see if its ADA compliant. Here is my code. I am using iTextSharp to create the file. 尝试合并两个PDF文件并符合ADA要求。

答案1

得分: 1

你的代码似乎存在多个错误:

  1. PDF阅读器没有关闭。
  2. 你正在使用itextsharp.text.image -- 这会获取不符合ADA标准的图像。

你可以使用此参考链接中提到的解决方案:https://www.c-sharpcorner.com/article/merge-number-of-pdf-into-a-single-pdf-using-itextsharp/

英文:

Your code seems to have multiple errors

  1. PDF reader is not closed.
  2. You are using itextsharp.text.image -- which will get the image that is not ADA-compliant.

You can use the solution mentioned in this ref link: https://www.c-sharpcorner.com/article/merge-number-of-pdf-into-a-single-pdf-using-itextsharp/

huangapple
  • 本文由 发表于 2023年6月8日 18:02:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76430724.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定