ArcGIS Pro 3.4 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.
Version

AddLayoutPage(Item,String) Method
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
)

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