Fixed Length Txt Report to PDF

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 );



Hi Panday,


Thanks for contacting support.

Can you please share the resource/input files (TXT etc) which you are trying to render in PDF format, so that we can test the scenario in our environment. Also please share your code snippet.

We are sorry for this inconvenience.