Class PdfImportLayoutDecision
Deterministic page-level layout decision and the evidence that produced it.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfImportLayoutDecision
Properties
Blocks
Gets the reconstructed text blocks in reading order.
Declaration
public IReadOnlyList<PdfImportBlockLayoutDecision> Blocks { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfImportBlockLayoutDecision> |
Choice
Gets the selected layout choice for this block or page.
Declaration
public PdfImportLayoutChoice Choice { get; }
Property Value
| Type | Description |
|---|---|
| PdfImportLayoutChoice |
Confidence
Gets the deterministic confidence score for this decision, from 0 to 1.
Declaration
public double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| double |
Evidence
Gets the evidence strings that support this layout choice.
Declaration
public IReadOnlyList<string> Evidence { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
PageNumber
Gets the one-based PDF page number associated with this result.
Declaration
public int PageNumber { get; }
Property Value
| Type | Description |
|---|---|
| int |
UsesPhysicalCanvas
Gets whether this decision uses page-relative physical placement.
Declaration
public bool UsesPhysicalCanvas { get; }
Property Value
| Type | Description |
|---|---|
| bool |