Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PageCollection Class / ClonePage Method
The index of the page to clone.
The destination index.
Indicates whether to clone page annotations.
Indicates whether to clone fields existing on the source page.

In This Topic
    ClonePage Method
    In This Topic
    Clones a page at a specified index (sourceIndex) and inserts it at a specified position (destinationIndex).
    Syntax
    'Declaration
     
    Public Sub ClonePage( _
       ByVal sourceIndex As System.Integer, _
       ByVal destinationIndex As System.Integer, _
       Optional ByVal cloneAnnotations As System.Boolean, _
       Optional ByVal cloneFields As System.Boolean _
    ) 
    public void ClonePage( 
       System.int sourceIndex,
       System.int destinationIndex,
       System.bool cloneAnnotations,
       System.bool cloneFields
    )

    Parameters

    sourceIndex
    The index of the page to clone.
    destinationIndex
    The destination index.
    cloneAnnotations
    Indicates whether to clone page annotations.
    cloneFields
    Indicates whether to clone fields existing on the source page.
    See Also