IronPDF 故障排除 元數据可见性 管理PDF中的元資料可見性 Curtis Chau 更新:2025年6月9日 下載 IronPDF NuGet 下載 DLL 下載 Windows Installer 開始免費試用 LLM副本 LLM副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在 Grok 中打開 向 Grok 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 This article was translated from English: Does it need improvement? Translated View the article in English 元資料類別中可以看到哪些內容? 任何能夠開啟 PDF 檔案的人都可以看到元資料。 這些細節包括以下項目: // Assign metadata properties to a PDF document Pdf.MetaData.Author = "John Doe"; // The author of the document Pdf.MetaData.Keywords = "Key, Word"; // Keywords associated with the document Pdf.MetaData.CreationDate = DateTime.Today; // The date the document was created Pdf.MetaData.ModifiedDate = DateTime.Now; // The date and time the document was last modified Pdf.MetaData.CustomProperties.Add("Test", "val"); // Custom properties for additional metadata Pdf.MetaData.Producer = "test"; // The software used to produce the document Pdf.MetaData.Subject = "test metadata"; // The subject of the document Pdf.MetaData.Title = "test"; // The title of the document Pdf.MetaData.Creator = "test"; // The original creator of the document // Security settings for the PDF Pdf.SecuritySettings.UserPassword = "ironuser"; // Password to open and view the PDF Pdf.SecuritySettings.OwnerPassword = "ironowner"; // Password providing full permissions, including editing // Assign metadata properties to a PDF document Pdf.MetaData.Author = "John Doe"; // The author of the document Pdf.MetaData.Keywords = "Key, Word"; // Keywords associated with the document Pdf.MetaData.CreationDate = DateTime.Today; // The date the document was created Pdf.MetaData.ModifiedDate = DateTime.Now; // The date and time the document was last modified Pdf.MetaData.CustomProperties.Add("Test", "val"); // Custom properties for additional metadata Pdf.MetaData.Producer = "test"; // The software used to produce the document Pdf.MetaData.Subject = "test metadata"; // The subject of the document Pdf.MetaData.Title = "test"; // The title of the document Pdf.MetaData.Creator = "test"; // The original creator of the document // Security settings for the PDF Pdf.SecuritySettings.UserPassword = "ironuser"; // Password to open and view the PDF Pdf.SecuritySettings.OwnerPassword = "ironowner"; // Password providing full permissions, including editing $vbLabelText $csharpLabel 如果只設定了所有者密碼,使用者將擁有對 PDF 元資料的完全存取權限,包括查看和修改所有文件屬性的能力。 如果只設定了使用者密碼,則只有擁有該密碼的人才能開啟 PDF 檔案。 使用者可以查看元資料屬性,但修改元資料受到限制。 請注意Adobe Acrobat Pro 允許使用者透過提供 UserPassword(如果已設定)來編輯 PDF 元資料。 相較之下,其他 PDF 檢視器(例如 Foxit)除了需要使用者提供 UserPassword 來開啟和檢視 PDF 之外,還需要使用者提供 OwnerPassword 來編輯 PDF 元資料。 Curtis Chau 立即與工程團隊聊天 技術作家 Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。 準備好開始了嗎? Nuget 下載 17,803,474 | 版本: 2026.3 剛剛發布 開始免費試用 免費 NuGet 下載 總下載量:17,803,474 查看許可證 還在滾動嗎? 想快速取得證據? PM > Install-Package IronPdf 運行範例看著你的HTML程式碼變成PDF檔。 免費 NuGet 下載 總下載量:17,803,474 查看許可證