ArcGIS Pro 2.6 API Reference Guide
HorizontalAlignment Property (AnnotationProperties)

ArcGIS.Desktop.Editing Namespace > AnnotationProperties Class : HorizontalAlignment Property
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;}
Public Property HorizontalAlignment As Nullable(Of HorizontalAlignment)
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

AnnotationProperties Class
AnnotationProperties Members