簡體   English   中英

使用Acrobat“添加允許對Adobe Reader進行注釋”

[英]“Adding Enable for commenting Adobe Reader” using Acrobat

我正在使用iTextSharp在PDF文檔上創建,后來我想使用Acrobat添加“為Adobe Reader添加評論功能”,但由於出現錯誤

您無權寫入此文件

這是我用來創建PDF文件的代碼:

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();
        }
    }
}

您正在問不可能的事情:請參閱http://support.itextpdf.com/node/24

使PDF閱讀器啟用需要Adobe擁有的私鑰。 除Adobe之外,使用該密鑰的任何第三方都將違反法律。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM