Hello there,
// Read the source text file
TextReader tr = new StreamReader(myDir + "ASCII_Test.txt");
// Instantiate a Document object by calling its empty constructor
Document doc = new Document();
// Add a new page in Pages collection of Document
Page page = doc.Pages.Add();
// Create an instance of TextFragmet and pass the text from reader object to its constructor as argument
TextFragment text = new TextFragment(tr.ReadToEnd());
//text.TextState.Font = FontRepository.FindFont("Arial Unicode MS");
text.TextState.Font = FontRepository.FindFont("Arial Unicode MS");
// Add a new text paragraph in paragraphs collection and pass the TextFragment object
page.Paragraphs.Add(text);
// Save resultant PDF file
doc.Save(myDir + “TexttoPDF.pdf”);
Any news here?
We are afraid it has not been scheduled yet and is still pending for investigations. We will be informing here once any update will be available. We really appreciate the patience and comprehension in this regard.