public enum LinkMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum LinkMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Defines the method used to link multiple 2D and 3D views together.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
public enum LinkMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum LinkMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Center | Views will look at the same location. When linking 2D and 3D views, the locations are approximated. |
None | Views are not linked. |
Scale | Views will maintain the same scale and rotation. When linking 2D and 3D views, the scales are approximated between view types. |
public void EnableViewLinking() { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return; //Set the view linking mode to Center and Scale. MapView.LinkMode = LinkMode.Center | LinkMode.Scale; }
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Mapping.LinkMode
Target Platforms: Windows 11, Windows 10