ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / AddLayoutPage Method / AddLayoutPage(Item,String) Method
The layout item.
The name of the report section that the page will be added before. If null, the page is added to the end of the report. If empty, the page is added to the beginning of the report.

In This Topic
    AddLayoutPage(Item,String) Method
    In This Topic
    Adds a layout page section to the report. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void AddLayoutPage( 
       Item layoutItem,
       string insertSectionName
    )
    Public Overloads Sub AddLayoutPage( _
       ByVal layoutItem As Item, _
       ByVal insertSectionName As String _
    ) 

    Parameters

    layoutItem
    The layout item.
    insertSectionName
    The name of the report section that the page will be added before. If null, the page is added to the end of the report. If empty, the page is added to the beginning of the report.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The layoutItem is invalid.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also