Merge two or more PDF files. This function requires that you have pdftk.exe installed in your PDF writer application folder.

Namespace:  pdf7.PdfWriter
Assembly:  pdf7.PdfWriter (in pdf7.PdfWriter.dll)

Syntax

Visual Basic (Declaration)
Public Shared Sub Merge ( _
	inputFileNames As String(), _
	outputFileName As String, _
	printerName As String, _
	timeoutMilliseconds As Integer _
)
C#
public static void Merge(
	string[] inputFileNames,
	string outputFileName,
	string printerName,
	int timeoutMilliseconds
)
Visual C++
public:
static void Merge(
	array<String^>^ inputFileNames, 
	String^ outputFileName, 
	String^ printerName, 
	int timeoutMilliseconds
)
JavaScript
pdf7.PdfWriter.PdfUtil.merge = function(inputFileNames, outputFileName, printerName, timeoutMilliseconds);

Parameters

inputFileNames
Type: array< System..::.String >[]()[]
Array of files to merge.
outputFileName
Type: System..::.String
Path of output file.
printerName
Type: System..::.String
Name of PDF printer.
timeoutMilliseconds
Type: System..::.Int32
Timeout in milliseconds for external processes launched during the merge operation.

See Also