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ênMục đích
InputFileNameTệp
OutputFileNameTệp
OwnerPasswordMật khẩu
UserPasswordMật khẩu
KeyTypeGiá trị: EncryptFile
PermissionsGiá trị: EncryptFile

Giá trị trả về

Trả về giá trị: Integer

Ghi chú sử dụng

API liên quan