CONTAINERALIGNMENT

typedef enum _CONTAINER_ALIGNMENT
{
   //Valid values for horizontal alignment are:
  CONTAINER_ALIGNMENT_LEFT    = 0X01,
  CONTAINER_ALIGNMENT_HCENTER = 0X02,
  CONTAINER_ALIGNMENT_RIGHT   = 0X04,
} CONTAINERALIGNMENT ;

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). Possible values are:

Value

Meaning

CONTAINER_ALIGNMENT_LEFT

Left-aligns text in the container text object.

CONTAINER_ALIGNMENT_HCENTER

Centers text in the container text object.

CONTAINER_ALIGNMENT_RIGHT

Right-aligns text in the container text object.

Comments

The default value for the field is CONTAINER_ALIGNMENT_LEFT.