我对 pdftron 有疑问,打开某个文件会导致我们的应用程序崩溃并出现以下错误:
An unhandled exception of type 'pdftron.Common.PDFNetException' occurred in PDFNet.dll
Additional information: Exception:
Message: Missing resource
Conditional expression: res
Filename : ContentResources.hpp
Function : trn::PDF::ContentResources::GetResource
Linenumber : 26
在我们的代码中:错误发生在以下行中:
while ((element = elReader.Next()) != null)
在执行 try/catch 时,我们看到页面中唯一缺少的是该页面上对角线书写的文本。这可能与缺少字体有关吗?不要介意图片中的光标,它不知道缺少文本的地方。
我可以根据要求发送 pdf 文件。