ArcGIS Pro 2.6 API Reference Guide
LayerDocument Class Members
Methods 


ArcGIS.Desktop.Mapping Namespace : LayerDocument Class

The following tables list the members exposed by LayerDocument.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Methods
 NameDescription
Public MethodCreate a json encoding for the ArcGIS.Core.CIM.CIMLayerDocument and its current state.  
Public MethodGets a ArcGIS.Core.CIM.CIMLayerDocument instance.  
Public MethodPopulates a LayerDocument from a json string that represents ArcGIS.Core.CIM.CIMLayerDocument. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Loads from Layer File (.lyrx) This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Save as a Layer File (.lyrx) This method must be called on the MCT. Use QueuedTask.Run.  
Top
See Also

Reference

LayerDocument Class
ArcGIS.Desktop.Mapping Namespace