TextOptions.HorzAlignmentToStringAlignment(HorzAlignment) Method
In This Article
OBSOLETE
Use DevExpress.
Converts the specified HorzAlignment value to a corresponding StringAlignment value.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use DevExpress.Data.Utils.AlignmentConverter class")]
public static StringAlignment HorzAlignmentToStringAlignment(
HorzAlignment align
)
#Parameters
Name | Type | Description |
---|---|---|
align | Horz |
A Horz |
#Returns
Type | Description |
---|---|
String |
A String |
#Remarks
This method converts the values of the HorzAlignment enumeration to the StringAlignment type as follows:
- HorzAlignment.Default to Near
- HorzAlignment.Center to Center
- HorzAlignment.Near to Near
- HorzAlignment.Far to Far
See Also