AppendToFile

Document management

Description

Appends the changed objects to the specified file in an incremental update.

The file name specified should be the same file that was the source of the document in the earlier call to LoadFromFile, LoadFromString or LoadFromStream.

Appending to a different file will result in a corrupt PDF.

Syntax

Delphi

function TPDFlib.AppendToFile(Const FileName: WideString): Integer;

ActiveX

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

DLL

int DLAppendToFile(int InstanceID, wchar_t * FileName);

Parameters

FileNameThe name of the file to create

Return values

0The incremental update could not be appended to the specified file
1Success