infragistics alingnments

Aug 22 2014 3:15 AM
for (int index = 0; index < PrintObjs.Count; index++)
  {
  Infragistics.Documents.Reports.Report.Table.ITable bandTable = band.AddTable();
  Infragistics.Documents.Reports.Report.Table.ITableCell bandTableCell = bandTable.AddRow().AddCell();
  Infragistics.Documents.Reports.Report.Text.IText bandText = bandTableCell.AddText();
  String textPrinted = PrintObjs[index].Content.ToString();
 
 
  if (PrintObjs[index].ContentHorizontalAlignment == System.Windows.HorizontalAlignment.Right)
  bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Right;
  else if (PrintObjs[index].ContentHorizontalAlignment == System.Windows.HorizontalAlignment.Center)
  bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Center;
  else
  bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Left;
 }
  I need to add two lines with different alignments(Left and Right) inside a same cell.How to implement that in infragistics?