ByteScout PDF SDK - C# - Read Form Values from 1099-INT form - ByteScout

ByteScout PDF SDK – C# – Read Form Values from 1099-INT form

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – C# – Read Form Values from 1099-INT form

How to read form values from 1099 INT form in C# and ByteScout PDF SDK

The tutorial shows how to read form values from 1099 INT form in C#

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout PDF SDK is the library for pdf documents generation, modification and updates. Can also generate and fill PDF forms. Provides support for text (fonts, style, size, font family), layers, pdf form fields, vector and raster drawings. It can be used to read form values from 1099 INT form using C#.

This rich sample source code in C# for ByteScout PDF SDK includes the number of functions and options you should do calling the API to read form values from 1099 INT form. Follow the instructions from the scratch to work and copy the C# code. Test C# sample code examples whether they respond your needs and requirements for the project.

Trial version of ByteScout PDF SDK is available for free. Source code samples are included to help you with your C# app.

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

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

Program.cs
      
using Bytescout.PDF; using System; namespace ReadForm { class Program { static void Main(string[] args) { // Load PDF form Document pdfDocument = new Document(@"f1099int_filled.pdf"); pdfDocument.RegistrationName = "demo"; pdfDocument.RegistrationKey = "demo"; // Read from second page Page page = pdfDocument.Pages[1]; Console.WriteLine("F1099int_filled Form values are as follows"); // Is Void var lIsVoid = ((CheckBox)page.Annotations["c2_1[0]"]).Checked; Console.WriteLine({code}quot;Is Void: {lIsVoid}"); // Payer's info var cPayerInfo = ((EditBox)page.Annotations["f2_1[0]"]).Text; Console.WriteLine({code}quot;Payer Info: {cPayerInfo}"); // Payer's TIN var cPayerTin = ((EditBox)page.Annotations["f2_2[0]"]).Text; Console.WriteLine({code}quot;Payer TIN: {cPayerTin}"); // Recipient's TIN var cRecipientTin = ((EditBox)page.Annotations["f2_4[0]"]).Text; Console.WriteLine({code}quot;Recipient TIN: {cRecipientTin}"); // Street Address 1 var cStreetAddress1 = ((EditBox)page.Annotations["f2_5[0]"]).Text; Console.WriteLine({code}quot;Street Address - 1: {cStreetAddress1}"); // Street Address 2 var cStreetAddress2 = ((EditBox)page.Annotations["f2_6[0]"]).Text; Console.WriteLine({code}quot;Street Address - 2: {cStreetAddress2}"); // Cleanup pdfDocument.Dispose(); Console.WriteLine(); Console.WriteLine("Press any key to exit...."); Console.ReadLine(); } } }

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