ArcGIS Pro 2.6 API Reference Guide
SaveLayout Method

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > NetworkDiagram Class : SaveLayout Method
The NetworkDiagramSubset of the geometries to save.
Indicates whether the vertices are kept when reconnecting the edges.
Saves the layout of diagram elements.
Syntax
public void SaveLayout( 
   NetworkDiagramSubset subset,
   bool keepVertices
)
Public Sub SaveLayout( _
   ByVal subset As NetworkDiagramSubset, _
   ByVal keepVertices As Boolean _
) 

Parameters

subset
The NetworkDiagramSubset of the geometries to save.
keepVertices
Indicates whether the vertices are kept when reconnecting the edges.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

NetworkDiagram Class
NetworkDiagram Members