short AmbientTextAlign( );
Return Value
The status of the container’s ambient TextAlign property. If this property is not supported, this function returns 0.
The following is a list of valid return values:
Return Value | Meaning |
0 | General alignment (numbers to the right, text to the left). |
1 | Left justify |
2 | Center |
3 | Right justify |
Remarks
Call this function to determine the ambient text alignment preferred by the control container. This property is available to all embedded controls and is defined by the container. Note that the container is not required to support this property.