ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / Presentation Class / DeletePage Method / DeletePage(Int32) Method
The index of the page to delete

In This Topic
    DeletePage(Int32) Method
    In This Topic
    Deletes a page. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void DeletePage( 
       int pageIndex
    )
    Public Overloads Sub DeletePage( _
       ByVal pageIndex As Integer _
    ) 

    Parameters

    pageIndex
    The index of the page 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