GetAlignment Method

Returns the cell alignment for a row type.

See Also | Example

Signature

RetVal = object.GetAlignment(rowType)

Object

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

rowType

AcRowType enum; the row type

acDataRow

acHeaderRow

acTitleRow

acUnknownRow

RetVal

AcCellAlignment enum; the alignment used 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?