Click or drag to resize

PdfDocumentBeginClone Method

Begins the new cloning session between the current PdfDocument and the sourceDocument.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1000
Syntax
public PdfCloneContext BeginClone(
	PdfDocument sourceDocument
)

Parameters

sourceDocument
Type: GemBox.PdfPdfDocument
The source PdfDocument from where objects will be cloned into this PdfDocument.

Return Value

Type: PdfCloneContext
An instance of the PdfCloneContext class used to maintain the mapping between objects in the sourceDocument and this PdfDocument.
Exceptions
ExceptionCondition
ArgumentNullExceptionsourceDocument is .
ArgumentExceptionsourceDocument is this PdfDocument.
See Also