ByteScout PDF SDK - VB.NET - Read Form Values from 1099-INT form - ByteScout

ByteScout PDF SDK – VB.NET – Read Form Values from 1099-INT form

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

How to read form values from 1099 INT form in VB.NET using ByteScout PDF SDK

This code in VB.NET shows how to read form values from 1099 INT form with this how to tutorial

The sample source codes on this page shows how to read form values from 1099 INT form in VB.NET. What is ByteScout PDF SDK? It is the component to help programmers in generating new pdf files, modifying and updating existing pdf documents or pdf forms. Provides support for auto-filling pdf forms, adding text with adjustable font, style, size, font family, new form fields, vector and raster drawings. It can help you to read form values from 1099 INT form in your VB.NET application.

VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout PDF SDK. Follow the instructions from the scratch to work and copy the VB.NET code. You can use these VB.NET sample examples in one or many applications.

ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.

Try ByteScout PDF SDK today: Get 60 Day Free Trial or sign up for Web API

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("f1099int_filled.pdf") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Read from second page Dim page = pdfDocument.Pages(1) Console.WriteLine("F1099int_filled Form values are as follows") ' Is Void Dim lIsVoid = DirectCast(page.Annotations("c2_1[0]"), CheckBox).Checked Console.WriteLine({code}quot;Is Void: {lIsVoid}") ' Payer's info Dim cPayerInfo = DirectCast(page.Annotations("f2_1[0]"), EditBox).Text Console.WriteLine({code}quot;Payer Info: {cPayerInfo}") ' Payer's TIN Dim cPayerTin = DirectCast(page.Annotations("f2_2[0]"), EditBox).Text Console.WriteLine({code}quot;Payer TIN: {cPayerTin}") ' Recipient's TIN Dim cRecipientTin = DirectCast(page.Annotations("f2_4[0]"), EditBox).Text Console.WriteLine({code}quot;Recipient TIN: {cRecipientTin}") ' Street Address 1 Dim cStreetAddress1 = DirectCast(page.Annotations("f2_5[0]"), EditBox).Text Console.WriteLine({code}quot;Street Address - 1: {cStreetAddress1}") ' Street Address 2 Dim cStreetAddress2 = DirectCast(page.Annotations("f2_6[0]"), EditBox).Text Console.WriteLine({code}quot;Street Address - 2: {cStreetAddress2}") ' 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 version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout PDF SDK page

Explore ByteScout PDF SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next