Share

CellAlignment

C++

enum CellAlignment {
  kTopLeft = 1,
  kTopCenter = 2,
  kTopRight = 3,
  kMiddleLeft = 4,
  kMiddleCenter = 5,
  kMiddleRight = 6,
  kBottomLeft = 7,
  kBottomCenter = 8,
  kBottomRight = 9
};

File

acdb.h

Members

Members Description
kTopLeft Left-justifies text at a point specified for the top of the text within a text table cell.
kTopCenter Centers text at a point specified for the top of the text within a text table cell.
kTopRight Right-justifies text at a point specified for the top of the text within a text table cell.
kMiddleLeft Left-justifies text at a point specified for the middle of the text within a text table cell.
kMiddleCenter Centers text at a point specified for the middle of the text within a text table cell.
kMiddleRight Right-justifies text at a point specified for the middle of the text within a text table cell.
kBottomLeft Left-justifies text at a point specified for the bottom of the text within a text table cell.
kBottomCenter Centers text at a point specified for the bottom of the text within a text table cell.
kBottomRight Right-justifies text at a point specified for the bottom of the text within a text table cell.

Description

These values specify how text will be aligned in a table cell and are available for horizontally oriented text only.

Was this information helpful?