[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.PageCollection.ClonePage

ClonePage Method

ClonePage(int, int, bool, bool)

Clones a page at a specified index (sourceIndex) and inserts it at a specified position (destinationIndex).

Declaration
public void ClonePage(int sourceIndex, int destinationIndex, bool cloneAnnotations = true, bool cloneFields = true)
Parameters
Type Name Description
int sourceIndex

The index of the page to clone.

int destinationIndex

The destination index.

bool cloneAnnotations

Indicates whether to clone page annotations.

bool cloneFields

Indicates whether to clone fields existing on the source page.