Hi.
i have a text file that when i try to convert to pdf, the save command runs for hours and don't complete.
i am using latest PDF dll 9.0.0 for 3.5 .net framework
here is the example code:
Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
Aspose.Pdf.Generator.Section sec1 = pdf1.Sections.Add();
System.IO.TextReader objReader = new System.IO.StreamReader("c:\\file_10MB.txt", true);
do
{
Aspose.Pdf.Generator.Text t2 = new Aspose.Pdf.Generator.Text(objReader.ReadLine());
sec1.Paragraphs.Add(t2);
} while (objReader.Peek() != -1);
pdf1.Save("c:/text.pdf");
i'm also attaching the file.
thanks.