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. Each paint alignment value is given below:

Value

Meaning

PAINT_ALIGNMENT_LEFT

Aligned to the left horizontally.

PAINT_ALIGNMENT_HCENTER

Centered horizontally.

PAINT_ALIGNMENT_RIGHT

Aligned to the right horizontally.

PAINT_ALIGNMENT_TOP

Aligned to the top vertically.

PAINT_ALIGNMENT_VCENTER

Centered vertically.

PAINT_ALIGNMENT_BOTTOM

Aligned to the bottom vertically.

Comments

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DigitalPaint C++ Class Library Help