SetAlignment Method

Sets a cell alignment for the specified row types.

See Also | Example

Signature

object.SetAlignment(rowTypes, cellAlignment)

Object

Table, TableStyle
The object or objects this method applies to.

rowTypes

Long; the row types to change

cellAlignment

AcCellAlignment enum; the alignment to use for the row types

acBottomCenter

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

acBottomLeft

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

acBottomRight

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

acMiddleCenter

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

acMiddleLeft

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

acMiddleRight

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

acTopCenter

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

acTopLeft

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

acTopRight

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

 

   Comments?