ArcGIS Pro 2.8 API Reference Guide
AddLayoutPage Method

ArcGIS.Desktop.Reports Namespace > Report Class : AddLayoutPage Method
The layout item.
The name of the report section that the page will be added after. If null, the page is added to the end of the report. If empty, the page is added to the beginning of the report.
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 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 after. 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 10, Windows 8.1

See Also

Reference

Report Class
Report Members