Class PdfEncryptionDetails
Le nom : Aspose.Words.Saving Assemblée: Aspose.Words.dll (25.4.0)
PDF ドキュメントの暗号化およびアクセス許可の詳細が含まれています。
Pour en savoir plus, visitez le Protect or Encrypt a Document article de documentation.
public class PdfEncryptionDetails
Inheritance
I membri ereditari
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PdfEncryptionDetails(String et String)
このクラスのインスタンスを始める。
public PdfEncryptionDetails(string userPassword, string ownerPassword)
Parameters
userPassword
string
ownerPassword
string
PdfEncryptionDetails(Télécharger, Télécharger, PdfPermissions)
このクラスのインスタンスを始める。
public PdfEncryptionDetails(string userPassword, string ownerPassword, PdfPermissions permissions)
Parameters
userPassword
string
ownerPassword
string
permissions
PdfPermissions
Properties
OwnerPassword
暗号化された PDF ドキュメントの所有者のパスワードを指定します。
public string OwnerPassword { get; set; }
Valore di proprietà
Remarks
所有者パスワードは、ユーザーが暗号化された PDF ドキュメントを開くことを可能にします Aspose.Words.Saving.PdfEncryptionDetails.Permissions に記載されているアクセス制限なし。
オーナーのパスワードはユーザーのパスワードと同じではありません。
Permissions
ユーザーが暗号化された PDF ドキュメントで許可されている操作を指定します。デフォルト値は Aspose.Words.Saving.PdfPermissions.DisallowAll です。
public PdfPermissions Permissions { get; set; }
Valore di proprietà
UserPassword
暗号化された PDF ドキュメントを開くために必要なユーザーパスワードを指定します。
public string UserPassword { get; set; }
Valore di proprietà
Remarks
ユーザーパスワードは、閲覧のための暗号化された PDF ドキュメントを開く必要があります. Aspose.Words.Saving.PdfEncryptionDetails.Permissions に記載されている許可は、読者ソフトウェアによって実行されます。
Le mot de passe de l’utilisateur peut être ou un fil vide, dans ce cas aucun mot de passe ne sera requis de l’utilisateur lors de l’ouverture du document PDF.