mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 09:00:07 +08:00
rogue tab
This commit is contained in:
parent
fed46965ff
commit
6b764e7c20
@ -34,7 +34,7 @@ The simplest usage at this stage is to open a document, reading the words from e
|
|||||||
using (PdfDocument document = PdfDocument.Open(@"C:\Documents\document.pdf"))
|
using (PdfDocument document = PdfDocument.Open(@"C:\Documents\document.pdf"))
|
||||||
{
|
{
|
||||||
foreach (Page page in document.GetPages())
|
foreach (Page page in document.GetPages())
|
||||||
{
|
{
|
||||||
string text = ContentOrderTextExtractor.GetText(page);
|
string text = ContentOrderTextExtractor.GetText(page);
|
||||||
IEnumerable<Word> words = page.GetWords(NearestNeighbourWordExtractor.Instance);
|
IEnumerable<Word> words = page.GetWords(NearestNeighbourWordExtractor.Instance);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user