MetaData 可見性

This article was translated from English: Does it need improvement?
Translated
View the article in English

MetaData 類別中可見的是什麼?

MetaData 對於能夠打開 PDF 的任何人來說都是可見的。

這些包括以下項目:

Pdf.MetaData.Author = "John Doe";
Pdf.MetaData.Keywords = "Key, Word";
Pdf.MetaData.CreationDate = DateTime.Today;
Pdf.MetaData.ModifiedDate = DateTime.Now;
Pdf.MetaData.CustomProperties.Add("Test", "val");
Pdf.MetaData.Producer = "test";
Pdf.MetaData.Subject = "test metadata";
Pdf.MetaData.Title = "test";
Pdf.MetaData.Creator = "test";

Pdf.SecuritySettings.UserPassword = "ironuser";
Pdf.SecuritySettings.OwnerPassword = "ironowner";
Pdf.MetaData.Author = "John Doe";
Pdf.MetaData.Keywords = "Key, Word";
Pdf.MetaData.CreationDate = DateTime.Today;
Pdf.MetaData.ModifiedDate = DateTime.Now;
Pdf.MetaData.CustomProperties.Add("Test", "val");
Pdf.MetaData.Producer = "test";
Pdf.MetaData.Subject = "test metadata";
Pdf.MetaData.Title = "test";
Pdf.MetaData.Creator = "test";

Pdf.SecuritySettings.UserPassword = "ironuser";
Pdf.SecuritySettings.OwnerPassword = "ironowner";
Pdf.MetaData.Author = "John Doe"
Pdf.MetaData.Keywords = "Key, Word"
Pdf.MetaData.CreationDate = DateTime.Today
Pdf.MetaData.ModifiedDate = DateTime.Now
Pdf.MetaData.CustomProperties.Add("Test", "val")
Pdf.MetaData.Producer = "test"
Pdf.MetaData.Subject = "test metadata"
Pdf.MetaData.Title = "test"
Pdf.MetaData.Creator = "test"

Pdf.SecuritySettings.UserPassword = "ironuser"
Pdf.SecuritySettings.OwnerPassword = "ironowner"
VB   C#
  • 只設定擁有者密碼時,使用者對 PDF 元數據具有完全訪問權限,包括檢視和修改所有文件屬性。
  • 只設定使用者密碼時,只有擁有密碼的人才能開啟 PDF。使用者可以檢視元數據屬性,但修改元數據受到限制。

請注意
Adobe Acrobat Pro允許使用者在提供UserPassword(如果已設定)的情況下編輯PDF的元數據。相對地,其他PDF查看器如Foxit要求使用者除了提供用於打開和查看PDF的UserPassword外,還需提供OwnerPassword才能編輯PDF的元數據。