Interface IPdfContentExtractionService
Pdf extraction service
Inherited Members
System.IDisposable.Dispose()
Namespace: Simplic.DocumentProcessing
Assembly: Simplic.DocumentProcessing.dll
Syntax
public interface IPdfContentExtractionService : IDisposable
Properties
| Improve this Doc View SourceDefaultOptions
Gets or sets the default options
Declaration
PdfContentExtractionOption DefaultOptions { get; set; }
Property Value
Type | Description |
---|---|
PdfContentExtractionOption |
PageCount
Gets the complete page count
Declaration
int PageCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceExtractText()
Extract complete text. Uses the default options DefaultOptions
Declaration
PdfContentExtractionResult ExtractText()
Returns
Type | Description |
---|---|
PdfContentExtractionResult | Extraction result |
ExtractText(PdfContentExtractionOption)
Extract text using extraction options
Declaration
PdfContentExtractionResult ExtractText(PdfContentExtractionOption options)
Parameters
Type | Name | Description |
---|---|---|
PdfContentExtractionOption | options | Option set |
Returns
Type | Description |
---|---|
PdfContentExtractionResult | Extraction result |
LoadPdf(Byte[])
Load pdf blob.
Declaration
bool LoadPdf(byte[] pdf)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | Pdf blob |
Returns
Type | Description |
---|---|
System.Boolean | True if loading was successfull |