Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PageCollection Class / Swap Method
The index of the first page to swap.
The index of the second page to swap.

In This Topic
    Swap Method (PageCollection)
    In This Topic
    Swaps two pages specified by their 0-based indices.
    Syntax
    'Declaration
     
    Public Sub Swap( _
       ByVal index1 As System.Integer, _
       ByVal index2 As System.Integer _
    ) 
    public void Swap( 
       System.int index1,
       System.int index2
    )

    Parameters

    index1
    The index of the first page to swap.
    index2
    The index of the second page to swap.
    See Also