add all dll into reference
example easy:
using org.apache.pdfbox.pdmodel;
using org.apache.pdfbox.util;
private static string parseUsingPDFBox(string filename)
{
PDDocument doc = PDDocument.load(filename);
PDFTextStripper stripper = new PDFTextStripper();
string text = stripper.getText(doc);
doc.close();
return text;
}
copyright:
http://www.copyright.gov/title17/circ92.pdf
edit by yangming
souce from:www.codeproject.com
- 1
- 2
- 3
- 4
- 5
- 6
前往页