• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PdfImportResult

Diagnostic-rich result returned by Import(Stream, PdfImportOptions, CancellationToken).

Inheritance
object
PdfImportResult
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfImportResult

Constructors

PdfImportResult(Document, IEnumerable<PdfImportPageResult>, IEnumerable<PdfImportDiagnostic>, bool, PdfLayoutDocument, PdfDocumentAnalysis, PdfTextReconstructionDocument, IEnumerable<PdfLatticeTable>, IEnumerable<PdfImportLayoutDecision>)

Initializes a new PdfImportResult from normalized PDF extraction data.

Declaration
public PdfImportResult(Document document, IEnumerable<PdfImportPageResult> pages, IEnumerable<PdfImportDiagnostic> diagnostics, bool hasFallbacks, PdfLayoutDocument layout = null, PdfDocumentAnalysis analysis = null, PdfTextReconstructionDocument textReconstruction = null, IEnumerable<PdfLatticeTable> latticeTables = null, IEnumerable<PdfImportLayoutDecision> layoutDecisions = null)
Parameters
Type Name Description
Document document
IEnumerable<PdfImportPageResult> pages
IEnumerable<PdfImportDiagnostic> diagnostics
bool hasFallbacks
PdfLayoutDocument layout
PdfDocumentAnalysis analysis
PdfTextReconstructionDocument textReconstruction
IEnumerable<PdfLatticeTable> latticeTables
IEnumerable<PdfImportLayoutDecision> layoutDecisions

Properties

Analysis

Phase C document-wide analysis of the normalized PDF layout.

Declaration
public PdfDocumentAnalysis Analysis { get; }
Property Value
Type Description
PdfDocumentAnalysis

Diagnostics

Gets the diagnostics collected while producing this result.

Declaration
public IReadOnlyList<PdfImportDiagnostic> Diagnostics { get; }
Property Value
Type Description
IReadOnlyList<PdfImportDiagnostic>

Document

Gets the document populated by the import operation.

Declaration
public Document Document { get; }
Property Value
Type Description
Document

HasFallbacks

Gets a value indicating whether any fallback handling was used.

Declaration
public bool HasFallbacks { get; }
Property Value
Type Description
bool

LatticeTables

High-confidence editable lattice tables selected during import.

Declaration
public IReadOnlyList<PdfLatticeTable> LatticeTables { get; }
Property Value
Type Description
IReadOnlyList<PdfLatticeTable>

Layout

Phase B normalized geometry; DOCX output remains in Document.

Declaration
public PdfLayoutDocument Layout { get; }
Property Value
Type Description
PdfLayoutDocument

LayoutDecisions

Evidence-backed page and block layout selections.

Declaration
public IReadOnlyList<PdfImportLayoutDecision> LayoutDecisions { get; }
Property Value
Type Description
IReadOnlyList<PdfImportLayoutDecision>

Pages

Gets the imported page results in source order.

Declaration
public IReadOnlyList<PdfImportPageResult> Pages { get; }
Property Value
Type Description
IReadOnlyList<PdfImportPageResult>

TextReconstruction

Phase C reconstructed reading-order text and positioned fallback blocks.

Declaration
public PdfTextReconstructionDocument TextReconstruction { get; }
Property Value
Type Description
PdfTextReconstructionDocument
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX