API Reference
Class
PdfDocumentReaderExtensions
Projects an already loaded native PDF result into the normalized Reader model.
Inheritance
- Object
- PdfDocumentReaderExtensions
Methods
ReadDocument 2 overloads
public static OfficeDocumentReadResult ReadDocument(PdfDocumentReadResult document, String sourceName = "document.pdf", ReaderOptions? readerOptions = null, ReaderPdfOptions? pdfOptions = null, CancellationToken cancellationToken = default) #Returns:
OfficeDocumentReadResultReads the supplied logical pages without reopening, parsing, or rendering the PDF.
Parameters
- document OfficeIMO.Pdf.PdfDocumentReadResult
- Caller-owned native logical result to project.
- sourceName System.String = "document.pdf"
- Logical source name used in locations; no file is opened at this path.
- readerOptions OfficeIMO.Reader.ReaderOptions? = null
- Reader projection, inspection, and output budget settings. Null uses the full projection.
- pdfOptions OfficeIMO.Reader.Pdf.ReaderPdfOptions? = null
- PDF projection settings, including page selection and chunk grouping.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation observed during projection.
Returns
A normalized Reader result for the supplied logical source.
public static OfficeDocumentReadResult ReadDocument(PdfInspectionReadResult inspection, String sourceName = "document.pdf", ReaderOptions? readerOptions = null, ReaderPdfOptions? pdfOptions = null, CancellationToken cancellationToken = default) #Returns:
OfficeDocumentReadResultProjects a completed native inspection while preserving every selected page occurrence and failure.
Parameters
- inspection OfficeIMO.Pdf.PdfInspectionReadResult
- Caller-owned inspection result, including its original selection outcomes.
- sourceName System.String = "document.pdf"
- Logical source name; no file is opened at this path.
- readerOptions OfficeIMO.Reader.ReaderOptions? = null
- Projection and output budgets. A null inspection policy uses the default evidence budget.
- pdfOptions OfficeIMO.Reader.Pdf.ReaderPdfOptions? = null
- Projection settings. Select pages when creating the native inspection; reselection here is rejected.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation observed during projection.
Returns
A Reader result with native occurrence identities and located failure evidence.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?