Hi,
I have one table containing 5 cell out of which 1,3 and 5 cell needs horizontally center allignement and other cell horizontally left alignment.
when i used code
switch (columnNo)
{
case 1:
case 3:
case 5:
DocBuilder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
break;
case 4:
case 2:
DocBuilder.ParagraphFormat.Alignment = ParagraphAlignment.Left;
break;
}
DocBuilder.InsertCell();
DocBuilder.Write(strText);
but still it is not displaying in proper alignment.
Can you please suggest how and where should i give this alignment so that it give me proper result ?