Pdf Duo .Net component
Merger different PDF files and get one PDF file.

Namespace: DuoDimension
Assembly: pdfduo-net (in pdfduo-net.dll) Version: 2.4.0.0 (2.4)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void PdfMerge(
	string[] Files,
	string DestFile
)
Public Shared Sub PdfMerge ( _
	Files As String(), _
	DestFile As String _
)
public:
static void PdfMerge(
	array<String^>^ Files, 
	String^ DestFile
)

Parameters

Files
array<String>[]()[][]
Array of PDF files
DestFile
String
The resulting PDF file

Examples

CopyC#
string[] pdf_files = new string[2] { @"D:\info.pdf", @"D:\content.pdf" };
string pdf_book = @"D:\book.pdf";

try
{
    DuoDimension.PdfTools.PdfMerge(pdf_files, pdf_book);
}
catch (Exception ex)
{
    MessageBox.Show(ex.Message);
}
CopyVB.NET
Dim pdf_files() As String = {"D:\info.pdf", "D:\content.pdf"}
Dim pdf_book As String = "D:\book.pdf"

Try
    DuoDimension.PdfTools.PdfMerge(pdf_files, pdf_book)
Catch ex As Exception
    MessageBox.Show(ex.Message)
End Try

See Also