The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout PDF Suite can read form values from w 4 form with pdf sdk. It can be applied from VB.NET. ByteScout PDF Suite is the set that includes 6 SDK products 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.
Want to quickly learn? This fast application programming interfaces of ByteScout PDF Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to read form values from w 4 form with pdf sdk. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Want to see how it works with your data then code testing will allow the function to be tested and work properly.
If you want to try other source code samples then the free trial version of ByteScout PDF Suite is available for download from our website. Just try 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.PDF ''' <summary> ''' This example demonstrates how to get PDF form values programmatically. ''' </summary> Class Program Shared Sub Main() ' Load PDF form Dim pdfDocument = New Document("W-4_Filled.pdf") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Read from first page Dim page = pdfDocument.Pages(0) Console.WriteLine("W-4 Form values are as follows") ' FirstName And middle initial Dim cFirstName = DirectCast(page.Annotations("f1_01[0]"), EditBox).Text Console.WriteLine({code}quot;FirstName: {cFirstName}") ' LastName Dim cLastName = DirectCast(page.Annotations("f1_02[0]"), EditBox).Text Console.WriteLine({code}quot;LastName: {cLastName}") ' Security Number Dim cSecurityNumber = DirectCast(page.Annotations("f1_03[0]"), EditBox).Text Console.WriteLine({code}quot;Security Number: {cSecurityNumber}") ' Home Address Dim cHomeAddress = DirectCast(page.Annotations("f1_04[0]"), EditBox).Text Console.WriteLine({code}quot;Home Address-1: {cHomeAddress}") ' Home Address 2 Dim cHomeAddress2 = DirectCast(page.Annotations("f1_05[0]"), EditBox).Text Console.WriteLine({code}quot;Home Address-2: {cHomeAddress2}") ' Is Married Dim bIsMarried = DirectCast(page.Annotations("c1_1[1]"), CheckBox).Checked Console.WriteLine({code}quot;Is Married: {bIsMarried}") ' Cleanup pdfDocument.Dispose() Console.WriteLine() Console.WriteLine("Press any key to exit....") 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: