Example: HoriAlignment property

This example sets center horizontal alignment for a cell.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableCell cell = table.cell(1,1);
  cell.getRange().setHoriAlignment(Constant.SYMPHONY_TEXT_HORI_ALIGN_CENTER);

Related information

HoriAlignment property