API Reference

Class

PdfUnderstandingImageRegion

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

One positioned image region with an optional associated caption.

Inheritance

  • Object
  • PdfUnderstandingImageRegion

Usage

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

Constructors

public PdfUnderstandingImageRegion(PdfImagePlacement placement, PdfUnderstandingSemanticElement caption = null, Double confidence = 0.5, IEnumerable<PdfInferenceEvidence> evidence = null, Boolean isFigure = false, String alternativeText = null) #

Creates an image region for a custom detection stage.

Parameters

placement OfficeIMO.Pdf.PdfImagePlacement requiredposition: 0
caption OfficeIMO.Pdf.PdfUnderstandingSemanticElement = null optionalposition: 1
confidence System.Double = 0.5 optionalposition: 2
evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null optionalposition: 3
isFigure System.Boolean = false optionalposition: 4
alternativeText System.String = null optionalposition: 5

Properties

public PdfImagePlacement Placement { get; } #

Source image placement represented by this region.

public PdfUnderstandingSemanticElement Caption { get; } #

Caption associated by structural or geometric evidence, when available.

public Boolean IsFigure { get; } #

True when a caption association or tagged-PDF Figure role establishes a figure.

public String AlternativeText { get; } #

Tagged-PDF alternate text for the figure, when present.

public Double Confidence { get; } #

Normalized image-region and association confidence from 0 to 1.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Stable evidence supporting the image region and optional caption association.