THotPDF.EncryptFile Method

方法摘要: THotPDF.EncryptFile Method

声明

function EncryptFile(const InputFileName : TFileName; const OutputFileName: TFileName; const OwnerPassword : AnsiString; const UserPassword : AnsiString; KeyType : THPDFKeyType; Permissions : THPDFProtectOptions): Integer; overload;

单元

HPDFDoc

参数

名称用途
InputFileName文件
OutputFileName文件
OwnerPassword密码
UserPassword密码
KeyType值: EncryptFile
Permissions值: EncryptFile

返回值

返回值: Integer

使用说明

相关 API