VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
For Each file In inputFile
imageCollection.Add(file)
Next
Dim document As New Vintasoft.Imaging.Pdf.PdfDocument(outputstream, New Vintasoft.Imaging.Pdf.PdfFormat("1.4"))
For i As Integer = 0 To imageCollection.Count - 1
document.Pages.Add(imageCollection(i), Vintasoft.Imaging.Pdf.PdfCompression.Zip)
Next
document.SaveChanges()
imageCollection.Dispose()
document.Dispose()
I try this code too but nothing work:For Each file In inputFile
imageCollection.Add(file)
Next
Using pdfEncoder As New Vintasoft.Imaging.Codecs.Encoders.PdfEncoder(True)
pdfEncoder.Settings.Conformance = Vintasoft.Imaging.Pdf.PdfDocumentConformance.PdfA_1b
imageCollection.SaveSync(outputstream, pdfEncoder)
End Using