Click or drag to resize

PdfPageObjectCollectionInsertClone Method

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

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

Parameters

index  Int32
The zero-based index at which clone of the PdfPageObject should be inserted.
source  PdfPageObject
The PdfPageObject whose clone should be inserted to the PdfPageObjectCollection.

Return Value

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