C# Class PdfExtract.Extractor

Extracts text from PDF's
Inheritance: IDisposable
Afficher le fichier Open project: poulfoged/pdf-extract

Méthodes publiques

Méthode Description
Dispose ( ) : void
ExtractText ( Stream pdfStream ) : Stream

Extracts text from the provided stream - stream must be readable

ExtractToString ( Stream pdfStream, Encoding encoding = null ) : string

Extracts text from the provided stream - stream must be readable

LogTo ( object[]>.Action logger ) : Extractor

Changes any logging of output to the provided action

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Log ( string format ) : void
ReadPdfToText ( ) : TemporaryFile

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExtractText() public méthode

Extracts text from the provided stream - stream must be readable
public ExtractText ( Stream pdfStream ) : Stream
pdfStream Stream Stream to extract to
Résultat Stream

ExtractToString() public méthode

Extracts text from the provided stream - stream must be readable
public ExtractToString ( Stream pdfStream, Encoding encoding = null ) : string
pdfStream Stream Stream to extract to
encoding System.Text.Encoding
Résultat string

LogTo() public méthode

Changes any logging of output to the provided action
public LogTo ( object[]>.Action logger ) : Extractor
logger object[]>.Action Logger to log to
Résultat Extractor