THotPDF.DADirectEncryptFileAES256 Method

Provides dadirect encrypt file aes 256 behaviour for the security workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function DADirectEncryptFileAES256(const InputFileName: TFileName; const OutputFileName: TFileName; const OwnerPassword: AnsiString; const UserPassword: AnsiString; Permissions: THPDFProtectOptions): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNameFile path used as the source or destination for this operation
OutputFileNameFile path used as the source or destination for this operation
OwnerPasswordPassword used for encrypted input or encrypted output workflows
UserPasswordPassword used for encrypted input or encrypted output workflows
PermissionsInput used by DADirectEncryptFileAES256

Return value

Returns a boolean value

Usage notes

Related APIs