ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / Presentation Class / DeletePages Method / DeletePages(IEnumerable<Int32>) Method
The indices of the pages to delete

In This Topic
    DeletePages(IEnumerable<Int32>) Method
    In This Topic
    Deletes a list of pages. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void DeletePages( 
       IEnumerable<int> pageIndices
    )
    Public Overloads Sub DeletePages( _
       ByVal pageIndices As IEnumerable(Of Integer) _
    ) 

    Parameters

    pageIndices
    The indices of the pages to delete
    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