'Declaration Public Property HorizontalAlignment As AnchorHorizontalAlignment
public AnchorHorizontalAlignment HorizontalAlignment {get; set;}
The HorizontalAlignment property is used in conjunction with the RelativeHorizontalPosition to define the horizontal aspect of the anchor's position. An anchor can be aligned with the left or right edge of the page, margin, paragraph, etc.
By default, the HorizontalAlignment property is not applicable, and positioning is implied to be absolute, defined by the value of the HorizontalOffset property. Explicitly setting the HorizontalAlignment property to a value other than 'None' overrides the HorizontalOffset property setting.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub