Debenu Quick PDF logo

MergeFileListFast

Document manipulation

Description

Similar to the MergeFileList function, but uses an advanced algorithm to improve speed.

A new file list will be created during merging that will contain the result of the merge process for each of the items in the specified file list. The new file list will have the same name as the original file list with the word Result appended. For example, if the original file list was called "MyFiles", then the new file list will be called "MyFilesResult". This new file list will not contain file names, but will contain a text description of the status of the matching file during the merge process.

There must be two or more files in the file list in order for the merging to succeed.

Form fields and annotations from all the documents will be present in the merged document but only outlines (bookmarks) from the first document will be in the merged document.

Syntax

Delphi

function TDebenuPDFLibrary1511.MergeFileListFast(ListName, 
  OutputFileName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::MergeFileListFast(ListName As String,
  OutputFileName As String) As Long

DLL

int DPLMergeFileListFast(int InstanceID, wchar_t * ListName,
  wchar_t * OutputFileName)

Parameters

ListName The name of the file list to use. All the files in this list will be merged together.
OutputFileName The path and file name of the output file to create. This file will contain all the files from the file list.

Return values

0 The merge process could not be completed. Use the GetLastError function to determine the cause of the error.
Non-zero The number of files that were successfully merged

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport