THotPDF.ProtectOptions Property

prExtractContent Consente di copiare o altrimenti estrarre testo e grafica dal documento

prAssemble                Allow assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images).

 

Example di codice

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

 

Vedi anche: ActivateProtection, CryptKeyLength, OwnerPassword, UserPassword