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

In This Topic
    DeletePages(IEnumerable<PresentationPage>) 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<PresentationPage> pages
    )
    Public Overloads Sub DeletePages( _
       ByVal pages As IEnumerable(Of PresentationPage) _
    ) 

    Parameters

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