Without redundant properties and APIs, pqScan Image to PDF component provides brief and practical methods to meet your demand.
Imports System.IO Imports PQScan.ImageToPDF Namespace TiffImageToPDF Class Program Private Shared Sub Main(args As String()) 'Create an instance of PQScan.ImageToPDF.PDFConverter object. Dim converter As New PDFConverter() 'Set PDF page layout, if to ImageSize, 'PDF page will display the original size and quality of the source image converter.PageSizeType = PageSizeMode.ImageSize 'Set input image from file streams. Dim streams As FileStream() = New FileStream(0) {} streams(0) = New FileStream("single-page.tif", FileMode.Open) 'Set output pdf file name. Dim outFile As String = "single-page.pdf" 'Generate PDF from single page tiff. converter.CreatePDF(streams, outFile) End Sub End Class End Namespace