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;

Unit

HPDFDoc

Параметри

NameПредназначение
InputFileNameFile
OutputFileNameFile
OwnerPasswordPassword
UserPasswordPassword
KeyTypeValue: EncryptFile
PermissionsValue: EncryptFile

Върната стойност

Връща стойност: Integer

Бележки за употреба

Свързани API