TextOptions.VertAlignmentToStringAlignment(VertAlignment) Method
OBSOLETE
Use DevExpress.Data.Utils.AlignmentConverter class
Converts the specified VertAlignment value to a corresponding StringAlignment value.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use DevExpress.Data.Utils.AlignmentConverter class")]
public static StringAlignment VertAlignmentToStringAlignment(
VertAlignment align
)
Parameters
Name | Type | Description |
---|---|---|
align | VertAlignment | A VertAlignment value that is to be converted. |
Returns
Type | Description |
---|---|
StringAlignment | A StringAlignment value that corresponds to the specified VertAlignment value. |
Remarks
This method converts the values of the VertAlignment enumeration to the StringAlignment type as follows:
- VertAlignment.Default to Center
- VertAlignment.Top to Near
- VertAlignment.Center to Center
- VertAlignment.Bottom to Far
See Also