ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / AnnotationProperties Class / HorizontalAlignment Property
Version

HorizontalAlignment Property (AnnotationProperties)
Gets and sets the horizontal alignment type used to align the text to the geometry. Affects which side of a point geometry the text is drawn or which end of a line it is drawn close to. Commonly used to define how stacked text appears.
Syntax
public Nullable<HorizontalAlignment> HorizontalAlignment {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also