API Reference

Class

PdfUnderstandingSemanticElement

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

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.

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 requiredposition: 0
kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind requiredposition: 1
confidence System.Double requiredposition: 2
evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} requiredposition: 3
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 requiredposition: 0
kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind requiredposition: 1
confidence System.Double = 0.5 optionalposition: 2
evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null optionalposition: 3
level System.Nullable{System.Int32} = null optionalposition: 4

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.