The CONTAINERALIGNMENT enumerated type contains possible values for member nTextAlignment in structure CONTAINERMETRICS. It specifies the text alignment of the container's text object(s).
typedef enum _CONTAINER_ALIGNMENT
{
//Valid values for horizontal alignment are:
CONTAINER_ALIGNMENT_LEFT = 0X01,
CONTAINER_ALIGNMENT_HCENTER = 0X02,
CONTAINER_ALIGNMENT_RIGHT = 0X04,
} CONTAINERALIGNMENT ;
Left-aligns text in the container text object.
Centers text in the container text object.
Right-aligns text in the container text object.
The default value for the field is CONTAINER_ALIGNMENT_LEFT.