Every ByteScout tool includes simple example VB.NET source codes that you can get here or in the folder with installed ByteScout product. ByteScout PDF Suite is the bundle that provides six different SDK libraries to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript. It can be applied to convert xfa form to xml in pdf with pdf extractor sdk using VB.NET.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout PDF Suite for convert xfa form to xml in pdf with pdf extractor sdk below and use it in your application. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. This basic programming language sample code for VB.NET will do the whole work for you to convert xfa form to xml in pdf with pdf extractor sdk.
You can download free trial version of ByteScout PDF Suite from our website with this and other source code samples for VB.NET.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports Bytescout.PDFExtractor Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.XFAFormExtractor instance Dim extractor As New XFAFormExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load PDF document ' (!) We do not provide the sample document, please load your own. extractor.LoadDocumentFromFile("samplexfa.pdf") ' Enumerate XFA form content part types For Each contentType As XFAFormContentType In [Enum].GetValues(GetType(XFAFormContentType)) 'Get count of content parts of specified type Dim partCount As Integer = extractor.GetCount(contentType) ' Save parts as XML files For i As Integer = 0 To partCount - 1 Dim fileName As String = contentType.ToString() + i.ToString() + ".xml" extractor.SaveToFile(contentType, i, fileName) Console.WriteLine("Saved form part " + fileName) Next Next ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Class
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: