Click or drag to resize

PdfObjectClone Method

Creates a new PdfObject that is a copy of the current PdfObject and adds it to this object's parent Page.

Namespace:  RadPdf.Data.Document.Objects
Assembly:  RadPdf (in RadPdf.dll) Version: (
public Object Clone()

Return Value

Type: Object
A new object that is a copy of this PdfObject.



Form fields which are locked (IsLocked is true) and have not been unlocked (using Unlock) can not be cloned.

The new PdfObject will not be committed to the PdfDocument until the saved (e.g. via the Save method or inside a OnDocumentSaving(DocumentSavingEventArgs) overload).

See Also