Merges the specified source documents and return destination document.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public static PdfDocumentBase Merge(
	PdfDocumentBase dest,
	params Object[] sourceDocuments
)
Public Shared Function Merge ( 
	dest As PdfDocumentBase,
	ParamArray sourceDocuments As Object()
) As PdfDocumentBase
public:
static PdfDocumentBase^ Merge(
	PdfDocumentBase^ dest, 
	... array<Object^>^ sourceDocuments
)
static member Merge : 
        dest : PdfDocumentBase * 
        sourceDocuments : Object[] -> PdfDocumentBase 

Parameters

dest
PdfDocumentBase
The destination document, where the other documents are merged into. If it's null a new document object will be created.
sourceDocuments
array<Object>[]()[][]
The source documents.

Return Value

PdfDocumentBase
The document containing merged documents.

See Also