ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / Presentation Class / CopyPages Method / CopyPages(IEnumerable<Int32>,Int32) Method
The indices of the pages to copy
The position to insert at

In This Topic
    CopyPages(IEnumerable<Int32>,Int32) Method
    In This Topic
    Copies a list of pages and insert the copied pages at the specified position. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void CopyPages( 
       IEnumerable<int> pageIndices,
       int insertIndex
    )
    Public Overloads Sub CopyPages( _
       ByVal pageIndices As IEnumerable(Of Integer), _
       ByVal insertIndex As Integer _
    ) 

    Parameters

    pageIndices
    The indices of the pages to copy
    insertIndex
    The position to insert at
    Exceptions
    ExceptionDescription
    This method must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also