ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / IPresentationPageFactory Interface / CreatePage Method
The presentation
The cim presentation page definition
The insert position. If -1, the page is added to the end of the page collection. If 0, the page is added to the beginning of the page collection.

In This Topic
    CreatePage Method (IPresentationPageFactory)
    In This Topic
    Adds a new page to the presentation using a CIM presentation page definition. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    presentation
    The presentation
    cimPageDefinition
    The cim presentation page definition
    insertIndex
    The insert position. If -1, the page is added to the end of the page collection. If 0, the page is added to the beginning of the page collection.

    Return Value

    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