API Reference
Class
PdfUnderstandingSemanticElement
Semantic classification of one ordered region.
Inheritance
- Object
- PdfUnderstandingSemanticElement
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
Accepted by parameters
Constructors
PdfUnderstandingSemanticElement 2 overloads
public PdfUnderstandingSemanticElement(PdfUnderstandingRegion region, PdfUnderstandingSemanticKind kind, Double confidence, IEnumerable<PdfInferenceEvidence> evidence) #Creates a semantic classification for a region without an explicit hierarchy level.
Parameters
- region OfficeIMO.Pdf.PdfUnderstandingRegion
- kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind
- confidence System.Double
- evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence}
public PdfUnderstandingSemanticElement(PdfUnderstandingRegion region, PdfUnderstandingSemanticKind kind, Double confidence = 0.5, IEnumerable<PdfInferenceEvidence> evidence = null, Nullable<Int32> level = null) #Creates a semantic classification for a region.
Parameters
- region OfficeIMO.Pdf.PdfUnderstandingRegion
- kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind
- confidence System.Double = 0.5
- evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null
- level System.Nullable{System.Int32} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public PdfUnderstandingRegion Region { get; } #Classified region.
public PdfUnderstandingSemanticKind Kind { get; } #Semantic kind selected by the active stage.
public Double Confidence { get; } #Normalized classification confidence from 0 to 1.
public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #Evidence supporting the semantic classification.
public Nullable<Int32> Level { get; } #Best-evidence hierarchy level for headings or list items, when known.