IronPDF 故障排除 MetaData可见性 管理 PDF 中的元数据可见性 Curtis Chau 已更新:2025年6月9日 下载 IronPDF NuGet 下载 DLL 下载 Windows 安装程序 免费试用 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 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。 准备开始了吗? Nuget 下载 17,803,474 | 版本: 2026.3 刚刚发布 免费试用 免费 NuGet 下载 总下载量:17,803,474 查看许可证 还在滚动吗? 想快速获得证据? PM > Install-Package IronPdf 运行示例看着你的HTML代码变成PDF文件。 免费 NuGet 下载 总下载量:17,803,474 查看许可证