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

In This Topic
    CopyPages(IEnumerable<PresentationPage>,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 Overloads Sub CopyPages( _
       ByVal pages As IEnumerable(Of PresentationPage), _
       ByVal insertIndex As Integer _
    ) 

    Parameters

    pages
    A list of pages
    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