ArcGIS Pro 2.8 API Reference Guide
ReplaceLayoutPage Method

ArcGIS.Desktop.Reports Namespace > Report Class : ReplaceLayoutPage Method
The layout item.
The report section name to insert relate report.
Replaces a layout page section with a new layout definition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void ReplaceLayoutPage( 
   Item layoutItem,
   string layoutPageSectionName
)
Public Sub ReplaceLayoutPage( _
   ByVal layoutItem As Item, _
   ByVal layoutPageSectionName As String _
) 

Parameters

layoutItem
The layout item.
layoutPageSectionName
The report section name to insert relate 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