Class PdfTextLayoutDecision
Records the deterministic layout choice and confidence for one page.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfTextLayoutDecision
Properties
Confidence
Gets the deterministic confidence score for this decision, from 0 to 1.
Declaration
public double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| double |
InputGranularity
Gets the granularity of the extraction input used for reconstruction.
Declaration
public PdfTextInputGranularity InputGranularity { get; }
Property Value
| Type | Description |
|---|---|
| PdfTextInputGranularity |
IsPositionedFallback
Gets a value indicating whether positioned fallback text was selected.
Declaration
public bool IsPositionedFallback { get; }
Property Value
| Type | Description |
|---|---|
| bool |
PageId
Gets the stable identifier assigned to the source PDF page.
Declaration
public string PageId { get; }
Property Value
| Type | Description |
|---|---|
| string |
PageNumber
Gets the one-based PDF page number associated with this result.
Declaration
public int PageNumber { get; }
Property Value
| Type | Description |
|---|---|
| int |
Reason
Gets the deterministic explanation for the selected reconstruction strategy.
Declaration
public string Reason { get; }
Property Value
| Type | Description |
|---|---|
| string |
Strategy
Gets the text reconstruction strategy selected for the page.
Declaration
public PdfTextReconstructionStrategy Strategy { get; }
Property Value
| Type | Description |
|---|---|
| PdfTextReconstructionStrategy |