Hi,
I am trying to generate a Fixed Length Report (txt based) with the basic table formatting.
As far as generating the string as I wanted is done however, when i try to convert this to PDF,
the table format has become ruined.
assuming the StringBuilder has been converted to an expected String object called ‘report’, i then created TextFragment object.
var temp = new TextFragment();
temp.Margin.Left = 0;
temp.Margin.Right = 0;
temp.Text = report.ToString();
var newPage = letter.Document.Pages.Add();
newPage.Paragraphs.Add(temp );