THotPDF.EncryptFile Method
Method summary: THotPDF.EncryptFile Method
Declaration
function EncryptFile(const InputFileName : TFileName; const OutputFileName: TFileName; const OwnerPassword : AnsiString; const UserPassword : AnsiString; KeyType : THPDFKeyType; Permissions : THPDFProtectOptions): Integer; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
InputFileName | File |
OutputFileName | File |
OwnerPassword | Password |
UserPassword | Password |
KeyType | Value: EncryptFile |
Permissions | Value: EncryptFile |
Return value
Returns a value: Integer
Usage notes
- Call: THotPDF.EncryptFile
- Stable
Related APIs
- THotPDF
- THPDFPage
- Contents