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
Accepted by parameters
- Method IPdfPageSegmentationStage.Segment
- Constructor PdfUnderstandingRegion.PdfUnderstandingRegion
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
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.