THotPDF.OwnerPassword Property

 

THotPDF.OwnerPassword

THotPDF

 

למעלה  הקודם  הבא

Determines document owner password.

 

Delphi syntax:

property OwnerPassword: AnsiString;

 

C++ syntax:

__property AnsiString OwnerPassword;

 

תיאור

פתיחת המסמך עם סיסמת owner הנכונה, בהנחה שאינה זהה לסיסמת user, מאפשרת גישה מלאה למסמך. גישה לא מוגבלת זו כוללת יכולת לשנות את סיסמאות המסמך ואת הרשאות הגישה

 

Code Example

HPDF.OwnerPassword := 'password';          // Set owner password (required to change security settings)
HPDF.UserPassword := 'user';               // Set user password (required to open the document)
HPDF.ProtectOptions := [poEdit, poAnnot];  // Disallow editing and annotations
HPDF.ActivateProtection := true;           // Enable PDF security

 

See also: ActivateProtection, CryptKeyLength, ProtectOptions, UserPassword