我正在探索PDFsharp库,但遇到了密码保护PDF的问题。-1_50-beta3b\PDFsharp\src\PdfSharp\Pdf\PdfDocument.cs:line 352 at PdfSharp.Pdf.IO.PdfWriter.WriteBeginObject(PdfObject obj)
我想从PDF文档中读取XMP元数据。我试着用PDFsharp ()读取数据。大多数情况下,它运行得很好,但在某些情况下,我得到了这个例外:
Unhandled Exception: PdfSharp.Pdf.IO.PdfReaderException: Cannot handleThe current implementation of PDFsharp cannot handle this PDF feature introduced with Ac
下面是错误
( PdfSharp.Internal.ParserDiagnostics.ThrowParserException(String message) at PdfSharp.Pdf.IO.Parser.ReadXRefTableAndTrailer(PdfCrossReferenceTable xrefTable) at PdfSharp.Pdf.IO.Parser.ReadTrailer() at PdfSharp.Pdf.IO.PdfReader.Op
尝试使用PdfSharp,使用此处显示的示例代码,但没有效果。我使用Win10下可用的微软PrintToPdf服务打印了一个web文档,读取了该文档,但AcroForm属性为nothing,因此我失败了。 我错过了什么?致以最诚意的问候 格哈德 Public Shared Sub test()
Dim doc As PdfDocument = PdfReader.Open("C:\xxx\yyy.pdfdoc.AcroForm.Elements.ContainsKey("/NeedAppear