Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfUnderstandingSemanticElement

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Semantic classification of one ordered region.

Inheritance

  • object
  • PdfUnderstandingSemanticElement

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

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 required
kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind required
confidence double required
evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? required
public PdfUnderstandingSemanticElement(PdfUnderstandingRegion region, PdfUnderstandingSemanticKind kind, double confidence = 0.5, IEnumerable<PdfInferenceEvidence>? evidence = null, int? level = null) #

Creates a semantic classification for a region.

Parameters

region OfficeIMO.Pdf.PdfUnderstandingRegion required
kind OfficeIMO.Pdf.PdfUnderstandingSemanticKind required
confidence double = 0.5 optional
evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optional
level int? = null optional

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 int? Level { get; } #

Best-evidence hierarchy level for headings or list items, when known.