AcCell Alignment

The following constants are possible return values for the GetAlignment and GetCellAlignment methods. Also, they can be values for the CellAlignment parameter of the SetAlignment and SetCellAlignment methods.

Constant

Value

Description

acBottomCenter

8

Centers text at a point based on the bottom of the text

acBottomLeft

7

Left-justifies text at a point based on the bottom of the text

acBottomRight

9

Right-justifies text at a point based on the bottom of the text

acMiddleCenter

5

Centers text at a point based on the middle of the text

acMiddleLeft

4

Left-justifies text at a point based on the middle of the text

acMiddleRight

6

Right-justifies text at a point based on the middle of the text

acTopCenter

2

Centers text at a point based on the top of the text

acTopLeft

1

Left-justifies text at a point based on the top of the text

acTopRight

3

Right-justifies text at a point based on the top of the text

0 0

Post a comment