ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / AddLayoutPage Method / AddLayoutPage(Item,Int32) Method
The layout item.
Position to add layout page. If -1, the layout page is added to the end of the report. If 0, the layout page is added to the beginning of the report.
Version

AddLayoutPage(Item,Int32) 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,
   int insertIndex
)

Parameters

layoutItem
The layout item.
insertIndex
Position to add layout page. If -1, the layout page is added to the end of the report. If 0, the layout 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