Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
How to generate a PDF file from a text file using Infragistics.Documents.PDF.PdfDocument
posted

Is it possible to create/generate a PDF file from an existing text file using Infragistics.Documents.PDF.PdfDocument? If not, how do you use the 'PdfDocument' class to create a new PDF file? I am able to add a page and generate a PDF file, but don't know how to write text to it? I am using VB.NET 2008

 Dim PDF As New Infragistics.Documents.PDF.PdfDocument

With PDF

  .AddPage()

  .Generate("C:\Test.pdf")

End With