Preface X X I I I Preface to the Second Edition X X V I I Preface to the Third Edition X X X I 1 Introduction 1 1.1 Example Programs 5 1.2 Notation 6 1.3 Relationship to Predefined Classes and Interfaces 6 1.4 References 6 2 Grammars 9 2.1 Context-F
本文实例讲述了C#使用iTextSharp将PDF转成文本的方法。分享给大家供大家参考。具体实现方法如下:
using System;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
public class ParsingPDF {
static string PDF;
static string TEXT2;
/**
*