Visual C#.NET: Convert PDF to Text

How to convert PDF to Text using C#.NET
Converting PDF to editable Text is one of the most common features of Yiigo.Image for .NET, which lets you perform instantaneous conversions without having to rely on the Acrobat software. Find more PDF conversion information on Yiigo.Imaging for .NET PDF Plugin.
Yiigo.Image for .NET PDF Plugin has those following functionalities:
This document provides comprehensive Visual C#.NET samples for guiding developers to convert PDF to Text using Yiigo.Image for .NET. Find more PDF conversion tutorials on VB.NET PDF Conversion to Text, Web Imaging Viewer PDF to Text Conversion Support and Convert PDF to Text in .NET Winforms.
PDF Converting to Text with C#.NET Sample Code

Requirements

If you want to convert PDF to Text in Visual C#.NET, make sure that you have installed.

Start to Convert

  • Open and run your Microsoft Visual Studio;
  • Choose either "Visual C# Projects" in "New Project" dialog box;
  • Choose "Windows Application" in the "Templates" List and name it "YiigoImagingPdfConvertTextCsharp";
  • Right-click on the "References" folder, and select "Add Reference..." from the context menu in the "Solution Explorer" window;
  • In the "Add Reference" dialog box, select the ".NET" tab and browse to Yiigo.Imaging.Net.dll library and Yiigo.Imaging.Net.Pdf.Read.dll;
  • Add it to your Visual C# applications;
  • Call Yiigo .NET Image Namespace & Copy those following codes:
using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;
using Yiigo.Imaging.Conversion;

using YiigoImage Image = new YiigoImage();
// Convert Text to PDF documents
public void ConversionTexttoPdf();
{
string TextFileName = (@"C:\ yiigo_example.txt");
ImageFormat ImageFormat = ImageFormat.pdf;
}
public Image ConversionPdftoText(@"C:\ yiigo_example.txt", ImageFormat.pdf);
doc.Save(@"C:\ yiigo_example.pdf");

// Convert PDF documents to Text
public Image ConversionPdftoText();
{
string PdfFileName = (@"C:\ yiigo_example.pdf");
int PdfPageNumber = "1";
ImageFormat ImageFormat = ImageFormat.txt;
}
public void ConversionTexttoPdf(@"C:\ yiigo_example.pdf", "1", ImageFormat.txt);
doc.Save(@"C:\ yiigo_example.txt");
Imaging Solution
Yiigo.Image for .NET
Online C# Tutorial
C#: Yiigo.Image for .NETC#: How to StartC#: Doc Management SolutionC#: Web Doc ViewerC#: How to Deploy SDK
Doc & Image Formats
C#: PDFC#: Create, Load, Save PDFC#: PDF Doc ViewerC#: Web PDF ViewerC#: Windows PDF ViewerC#: Mobile PDF ViewerC#: Annotate PDFC#: Convert PDFC#: Convert PDF to BMPC#: Convert PDF to GIFC#: Convert PDF to JPEGC#: Convert PDF to PNGC#: Convert PDF to SVGC#: Convert PDF to TIFFC#: Compress PDF ImageC#: Add PDF MetadataC#: Extract PDF TextC#: Process PDFC#: Rotate PDF PageC#: Add PDF PageC#: Add Image to PDF PageC#: Delete PDF PageC#: Sort PDF PagesC#: Merge PDF DocumentsC#: Split PDF DocumentC#: Read PDF BarcodeC#: Generate PDF BarcodeC#: Draw on PDFC#: Draw PDF WatermarkC#: TIFFC#: WordC#: DICOM
Advanced Functions
C#: Programming with Image SDKC#: Barcode ReadingC#: Barcode GeneratingC#: Twain ScanningC#: OCR Recognition