THotPDF.EncryptFile Method
Tóm tắt phương thức: THotPDF.EncryptFile Method
Khai báo
function EncryptFile(const InputFileName : TFileName; const OutputFileName: TFileName; const OwnerPassword : AnsiString; const UserPassword : AnsiString; KeyType : THPDFKeyType; Permissions : THPDFProtectOptions): Integer; overload;
Đơn vị
HPDFDoc
Tham số
| Tên | Mục đích |
|---|---|
InputFileName | Tệp |
OutputFileName | Tệp |
OwnerPassword | Mật khẩu |
UserPassword | Mật khẩu |
KeyType | Giá trị: EncryptFile |
Permissions | Giá trị: EncryptFile |
Giá trị trả về
Trả về giá trị: Integer
Ghi chú sử dụng
- Gọi: THotPDF.EncryptFile
- Ổn định
API liên quan
- THotPDF
- THPDFPage
- Nội dung