Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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 (|).