PAINTALIGNMENT

typedef enum 
{
   //Valid values for horizontal alignment are:
   PAINT_ALIGNMENT_LEFT    = 0X01,
   PAINT_ALIGNMENT_HCENTER = 0X02,
   PAINT_ALIGNMENT_RIGHT   = 0X04,

   //Valid values for vertical alignment are:
   PAINT_ALIGNMENT_TOP     = 0X08,
   PAINT_ALIGNMENT_VCENTER = 0X10,
   PAINT_ALIGNMENT_BOTTOM  = 0X20   
      
} PAINTALIGNMENT ;

The PAINTALIGNMENT enumeration type contains options for aligning painted text.

Comments

A value from each category (horizontal and vertical) may be combined using the bitwise OR operator (|).