ByteScout PDF SDK - VB.NET - Read Form Values from W-9 form - ByteScout

ByteScout PDF SDK – VB.NET – Read Form Values from W-9 form

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – VB.NET – Read Form Values from W-9 form

How to read form values from W 9 form in VB.NET using ByteScout PDF SDK

Tutorial on how to read form values from W 9 form in VB.NET

Every ByteScout tool contains example VB.NET source codes that you can find here or in the folder with installed ByteScout product. ByteScout PDF SDK can read form values from W 9 form. It can be used from VB.NET. ByteScout PDF SDK is the pdf library that can create, update and modify PDF files. Supports text with fonts and style selections, layers, form fields, drawing lines and objects, automatic tables, images. Can be used to create and fill pdf forms.

VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout 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! This basic programming language sample code for VB.NET will do the whole work for you to read form values from W 9 form.

Download free trial version of ByteScout PDF SDK from our website with this and other source code samples for VB.NET.

Try ByteScout PDF SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.vb
      
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-9_Filled.pdf") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Read from first page Dim page = pdfDocument.Pages(0) Console.WriteLine("W-9 Form values are as follows") ' Name Dim cName = DirectCast(page.Annotations("f1_1[0]"), EditBox).Text Console.WriteLine({code}quot;Name: {cName}") ' Business Address Dim cAddress = DirectCast(page.Annotations("f1_2[0]"), EditBox).Text Console.WriteLine({code}quot;Address: {cAddress}") ' Cleanup pdfDocument.Dispose() Console.WriteLine() Console.WriteLine("Press any key to exit....") Console.ReadLine() End Sub End Class

Try ByteScout PDF SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF SDK Home Page

Explore ByteScout PDF SDK Documentation

Get ByteScout PDF SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next