ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / MainLineTreeDiagramLayoutParameters Class / PreserveContainers Property

In This Topic
    PreserveContainers Property (MainLineTreeDiagramLayoutParameters)
    In This Topic
    Indicates whether or not the containers are preserved.
    Syntax
    public bool PreserveContainers {get; set;}
    Public Property PreserveContainers As Boolean
    Remarks
    • If true, the layout algorithm executes on the top graph of the diagram so that containers are preserved.
    • If false, the layout algorithm executes on both content and non-content features in the diagram. The default is false.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also