THotPDF.OwnerPassword Property

 

THotPDF.OwnerPassword

THotPDF

 

Vrh  Prejšnja  Naslednja

Determines document owner password.

 

Delphi syntax:

property OwnerPassword: AnsiString;

 

C++ syntax:

__property AnsiString OwnerPassword;

 

Description

Odpiranje dokumenta s pravilnim geslom lastnika (če ni enako uporabniškemu geslu) omogoči polni dostop lastnika do dokumenta. Ta neomejeni dostop vključuje tudi možnost spreminjanja gesel dokumenta in dovoljenj za dostop

 

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