PAINTALIGNMENT

Summary

The PAINTALIGNMENT enumeration type contains options for aligning painted text. Each paint alignment value is given below:

Syntax

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 ; 

Members

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 ( | ).

Usage

Data Types

Functions

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.