ByteScout PDF Suite - C# - Read form values from 1099-int form with pdf sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout PDF Suite – C# – Read form values from 1099-int form with pdf sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – C# – Read form values from 1099-int form with pdf sdk

How to read form values from 1099 int form with pdf sdk in C# with ByteScout PDF Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to read form values from 1099 int form with pdf sdk in C#

The sample source code below will teach you how to read form values from 1099 int form with pdf sdk in C#. Want to read form values from 1099 int form with pdf sdk in your C# app? ByteScout PDF Suite is designed for it. 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.

The SDK samples given below describe how to quickly make your application do read form values from 1099 int form with pdf sdk in C# with the help of ByteScout PDF Suite. IF you want to implement the functionality, just copy and paste this code for C# below into your code editor with your app, compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.

ByteScout PDF Suite free trial version is available on our website. C# and other programming languages are supported.

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 Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite 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 Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next