SharpLeaf Reference > Table Methods > SetCellAlignment Method

Table.SetCellAlignment Method

Set horizontal alignment of table cells (defaults to Alignment.Left).



  // Alternate left and decimal alignment along columns from now on
   tb.SetCellAlignment(new Alignment[]{Alignment.Left,Alignment.Decimal},true);


The setting will be cycled through, starting at current cell, for all future cells.

See also ...

Table Cyclic Settings | Table Glossary | Table Members | Table.SetCellVerticalAlignment Method

Send comments on this topic
© Dyalog Ltd 2016