Table of Contents

Class PdfImporter

Namespace
NAPS2.Pdf
Assembly
NAPS2.Sdk.dll

Imports PDF files.

public class PdfImporter
Inheritance
PdfImporter
Inherited Members

Constructors

PdfImporter(ScanningContext, IPdfPasswordProvider?)

public PdfImporter(ScanningContext scanningContext, IPdfPasswordProvider? pdfPasswordProvider = null)

Parameters

scanningContext ScanningContext
pdfPasswordProvider IPdfPasswordProvider

Methods

Import(Stream, ImportParams?, ProgressHandler)

public IAsyncEnumerable<ProcessedImage> Import(Stream stream, ImportParams? importParams = null, ProgressHandler progress = default)

Parameters

stream Stream
importParams ImportParams
progress ProgressHandler

Returns

IAsyncEnumerable<ProcessedImage>

Import(string, ImportParams?, ProgressHandler)

public IAsyncEnumerable<ProcessedImage> Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default)

Parameters

filePath string
importParams ImportParams
progress ProgressHandler

Returns

IAsyncEnumerable<ProcessedImage>