ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / AnnotationPlacementMode Enumeration
Example Example

In This Topic
    AnnotationPlacementMode Enumeration
    In This Topic
    Defines the annotation placement mode for new annotation relative to the direction of the line or boundary feature it is following
    Syntax
    Members
    MemberDescription
    Left Constrain to the Left side of the feature based on the direction of the feature.
    OnLine Constrain centered on the feature segment.
    Right Constrain to the right side of the feature based on the direction of the feature.
    SideCursor Constrains to follow the pointer as you hover to either side of a segment.
    Example
    Get/Set Editing Annotation Options
    var eOptions = ApplicationOptions.EditingOptions;
    
    var followLinkedLines = eOptions.AutomaticallyFollowLinkedLineFeatures;
    var followLinedPolygons = eOptions.AutomaticallyFollowLinkedPolygonFeatures;
    var usePlacementProps = eOptions.UseAnnotationPlacementProperties;
    var followMode = eOptions.AnnotationFollowMode;
    var placementMode = eOptions.AnnotationPlacementMode;
    
         
    eOptions.AnnotationFollowMode = AnnotationFollowMode.Parallel;
    eOptions.AnnotationPlacementMode = AnnotationPlacementMode.Left;
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Desktop.Core.AnnotationPlacementMode

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also