GetEncryptedPayloadContentToFile

Security and encryption

Description

Extracts the complete encrypted PDF payload from the selected unencrypted wrapper to a file

Syntax

Delphi

Function TPDFlib.GetEncryptedPayloadContentToFile(Const FileName: WideString): Integer;

ActiveX

Function PDFlib::GetEncryptedPayloadContentToFile(FileName As String) As Long

DLL

int DLGetEncryptedPayloadContentToFile(int InstanceID, const wchar_t* FileName);

Parameters

FileNameDestination path that receives the exact embedded payload bytes

Return values

1The payload was written
0No valid wrapper is selected or the destination could not be written

See also

GetEncryptedPayloadContentToString, GetEncryptedPayloadContentToVariant, GetEncryptedPayloadContentToStream