Make PDF editable by C#

Question:I have a PDF which is nothing but some form , for example, I have employee sheet as PDF form which is not editable. I want to make this editable using C# code . It would highly appreciated if VeryPDF gives me an solution.

Answer: According to my understanding, you need to convert PDF to editable version using C# code. If so, there are two products available on our website: desktop command line version VeryPDF OCR to Any Converter Command Line, which can convert any scan PDF file, scan image file to editable PDF, word, Excel or others; cloud API application VeryPDF OCR Cloud APIs, which is cloud based application for providing (OCR) functionality to users and developers on demand. It employs advanced OCR technologies to convert images (PDF, TIF, PNG, JPG) containing text into editable searchable text-based documents.. Both of those two software can help you OCR PDF  C# code but they are different in working modes and prices. Please choose the proper one according to your need. Please check more information of those two software on homepage, in the following part, let us check how to use this software of cloud API application.

Step 1. Get an API code

  • If you use this software for trial, the API code is not necessary as this software allows you to try this software many times.
  • For getting an account of cloud API, you need to register an account on registration page. When you finish payment, the API code will be sent to your email box at once.
  • Please make sure to use the same email address when register VeryPDF Cloud API account and buy "Plan"online. VeryPDF Cloud API uses email address to identify unique account.

Step 2. OCR PDF by C# code

  • When you need to OCR PDF from C# code, please refer to the following code template.
  • using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Runtime.Serialization;
    using System.Net;
    using System.IO;

    namespace WindowsFormsApplication1
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            private void button1_Click(object sender, EventArgs e)
            {
                string url = "http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr
    &infile=http://online.verypdf.com/examples/cloud-api/test0002.pdf
    &outfile=out&lang=eng
    ";
                WebRequest request = HttpWebRequest.Create(url);
                WebResponse response = request.GetResponse();
                StreamReader reader = new StreamReader(response.GetResponseStream());
                string urlText = reader.ReadToEnd();
                MessageBox.Show(urlText);
            }
        }
    }

This software supports more than 20 languages like Ancient Greek Language, Esperanto alternative language, Turkish language and others. When OCR PDF, please change the end parameter at the end of the URL like I showed in above URL. When you do the real processing, simply change the apikey code to the real code in your email box or else there will be watermark on output. Please check more usage on homepage, during the using, if you  have any question, please contact us as soon as possible. 

VN:F [1.9.20_1166]
Rating: 4.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Make PDF editable by C#, 4.0 out of 10 based on 1 rating

Related Posts

This entry was posted in VeryPDF Cloud API and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!