本文介绍了"添加启用注释ADOBE READER"使用Acrobat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用iTextSharp的创造上的PDF文档,后来我想添加将启用注释ADOBE READER使用Acrobat,但我得到错误的。
Here my code used to create PDF file:
using (FileStream FS = new FileStream(dPDFFile_temp, FileMode.Create, FileAccess.Write, FileShare.None))
{
using (Document Doc = new Document())
{
using (PdfCopy writer = new PdfCopy(Doc, FS))
{
Doc.Open();
for (int i = 1; i <= R.NumberOfPages; i++)
{
writer.AddPage(writer.GetImportedPage(R, i));
}
Doc.Close();
}
}
}
解决方案
You are asking something that is impossible: see http://support.itextpdf.com/node/24
Making a PDF reader-enabled requires a private key that is owned by Adobe. Any third party other than Adobe using that key, would be in violation with the law.
这篇关于"添加启用注释ADOBE READER"使用Acrobat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!