API Reference
Class
PdfUnderstandingWord
One decoded word candidate with source-run traceability.
Inheritance
- Object
- PdfUnderstandingWord
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 IPdfWordGroupingStage.GroupWords
- Property PdfUnderstandingLine.Words
- Property PdfUnderstandingPageResult.Words
Accepted by parameters
- Method IPdfLineGroupingStage.GroupLines
- Constructor PdfUnderstandingLine.PdfUnderstandingLine
Constructors
public PdfUnderstandingWord(String text, Double xStart, Double xEnd, Double baselineY, Double fontSize, Double rotationDegrees, IReadOnlyList<PdfTextSpan> sourceRuns, Double confidence = 1, IEnumerable<PdfInferenceEvidence> evidence = null) #Creates a positioned word artifact for a custom grouping stage.
Parameters
- text System.String
- xStart System.Double
- xEnd System.Double
- baselineY System.Double
- fontSize System.Double
- rotationDegrees System.Double
- sourceRuns System.Collections.Generic.IReadOnlyList{OfficeIMO.Pdf.PdfTextSpan}
- confidence System.Double = 1
- evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null
Inherited Methods
Properties
public String Text { get; } #Decoded word text.
public Double XStart { get; } #Left bound in PDF points.
public Double XEnd { get; } #Right bound in PDF points.
public Double BaselineY { get; } #Baseline Y in PDF points.
public Double FontSize { get; } #Representative font size.
public Double RotationDegrees { get; } #Baseline rotation in degrees.
public IReadOnlyList<PdfTextSpan> SourceRuns { get; } #Decoded source runs that produced this word.
public Double Confidence { get; } #Normalized grouping confidence from 0 to 1.
public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #Evidence supporting this word grouping.