Class
PdfUnderstandingImageRegion
OfficeIMO.Pdf
One positioned image region with an optional associated caption.
Inheritance
- object
- PdfUnderstandingImageRegion
Usage
Explore 4 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.
Returned or exposed by 4
- Method IPdfImageRegionDetectionStage.Detect
- Property PdfLogicalImage.PrimaryRegion
- Property PdfLogicalImage.Regions
- Property PdfUnderstandingPageResult.ImageRegions
Constructors
public PdfUnderstandingImageRegion(PdfImagePlacement placement, PdfUnderstandingSemanticElement? caption = null, double confidence = 0.5, IEnumerable<PdfInferenceEvidence>? evidence = null, bool isFigure = false, string? alternativeText = null) #Creates an image region for a custom detection stage.
Parameters
- placement OfficeIMO.Pdf.PdfImagePlacement
- caption OfficeIMO.Pdf.PdfUnderstandingSemanticElement? = null
- confidence double = 0.5
- evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null
- isFigure bool = false
- alternativeText string? = null
Inherited Methods
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 bool 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.