[]
        
(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)
Public Sub ClonePage(sourceIndex As Integer, destinationIndex As Integer, Optional cloneAnnotations As Boolean = True, Optional cloneFields As Boolean = 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.