Here you may find thousands pre-made source code pieces for easy implementation in your own programming VB.NET projects. Zugferd invoice extraction in VB.NET can be implemented with ByteScout PDF Extractor SDK. ByteScout PDF Extractor SDK is the SDK that helps developers to extract data from unstructured documents, pdf, images, scanned and electronic forms. Includes AI functions like automatic table detection, automatic table extraction and restructuring, text recognition and text restoration from pdf and scanned documents. Includes PDF to CSV, PDF to XML, PDF to JSON, PDF to searchable PDF functions as well as methods for low level data extraction.
The SDK samples like this one below explain how to quickly make your application do zugferd invoice extraction in VB.NET with the help of ByteScout PDF Extractor SDK. In order to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Further enhancement of the code will make it more vigorous.
ByteScout PDF Extractor SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.
Imports Bytescout.PDFExtractor Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.AttachmentExtractor instance Dim extractor As New AttachmentExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile(".\ZUGFeRD-invoice.pdf") Dim i As Integer ' Extract the XML invoice that is stored as an attachment For i = 0 To extractor.Count - 1 Console.WriteLine("Saving XML attachment: " + extractor.GetFileName(i)) ' Save file to current folder extractor.Save(i, extractor.GetFileName(i)) Console.WriteLine("Done.") Next ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Press any key...") Console.ReadLine() End Sub End Class