API Reference
Class
PdfUnderstandingLine
One grouped text line.
Inheritance
- Object
- PdfUnderstandingLine
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method IPdfLineGroupingStage.GroupLines
- Property PdfUnderstandingPageResult.Lines
- Property PdfUnderstandingRegion.Lines
- Property PdfUnderstandingTableCandidate.SourceLines
Accepted by parameters
Constructors
public PdfUnderstandingLine(IReadOnlyList<PdfUnderstandingWord> words, Nullable<Double> confidence = null, IEnumerable<PdfInferenceEvidence> evidence = null) #Creates a line from words in local reading order.
Parameters
- words System.Collections.Generic.IReadOnlyList{OfficeIMO.Pdf.PdfUnderstandingWord}
- confidence System.Nullable{System.Double} = null
- evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<PdfUnderstandingWord> Words { get; } #Words in line order.
public String Text { get; } #Normalized line text.
public Double XStart { get; } #Left bound.
public Double XEnd { get; } #Right bound.
public Double BaselineY { get; } #Representative baseline.
public Double FontSize { get; } #Largest font size in the line.
public Double RotationDegrees { get; } #Representative baseline rotation.
public Double Confidence { get; } #Normalized line-grouping confidence from 0 to 1.
public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #Evidence supporting this line grouping.
public PdfLogicalContentSourceKind SourceKind { get; } #Whether the line came from native PDF text or accepted OCR geometry.
public Nullable<Int32> SourceSequence { get; } #Original source reading position, when supplied.
public String BlockId { get; } #Provider block identifier, when supplied.
public String ParagraphId { get; } #Provider paragraph identifier, when supplied.
public String LineId { get; } #Provider line identifier, when supplied.
public PdfLogicalVisualBounds VisualBounds { get; } #Direct top-left visual bounds, when supplied.