Click or drag to resize

PdfPageObjectCollectionInsertClone Method

Inserts the clone of the specified PdfPageObject to the PdfPageObjectCollection at the specified index.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public PdfPageObject InsertClone(
	int index,
	PdfPageObject source
)

Parameters

index
Type: SystemInt32
The zero-based index at which clone of the PdfPageObject should be inserted.
source
Type: GemBox.PdfPdfPageObject
The PdfPageObject whose clone should be inserted to the PdfPageObjectCollection.

Return Value

Type: PdfPageObject
Clone of the specified PdfPageObject inserted to the PdfPageObjectCollection.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is .
See Also