I am attempting to convert a text file to PDF format. The PDF is created but all that is in it is the disclaimer "Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2011 Aspose Pty Ltd."
I am using a slight variation of your hello world PDF example like so:
Dim objStreamReader As StreamReader
objStreamReader = File.OpenText(sDocInPath)
Dim contents As String = objStreamReader.ReadToEnd()
Dim pdf1 As New Pdf()
Dim sec1 As New Aspose.Pdf.Section(pdf1)
pdf1.Save(sDocOutPath & sDocNewID & ".pdf")
The contents string does have the text from the file in it, but for some reason it never makes it into the PDF.