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.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF SDK Home Page

Explore ByteScout PDF SDK Documentation

Explore Samples

Sign Up for ByteScout PDF SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF SDK Home Page

Explore ByteScout PDF SDK Documentation

Explore Samples

Sign Up for ByteScout PDF SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next