# PdfUnderstandingImageRegion

One positioned image region with an optional associated caption.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[PdfUnderstandingContracts.cs:301](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L301)

**Modifiers**

sealed

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](/api/pdf/officeimo-pdf-ipdfimageregiondetectionstage/#method-detect-officeimo-pdf-pdfunderstandingpagecontext-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingsemanticelement)
- Property [PdfLogicalImage.PrimaryRegion](/api/pdf/officeimo-pdf-pdflogicalimage/#property-primaryregion)
- Property [PdfLogicalImage.Regions](/api/pdf/officeimo-pdf-pdflogicalimage/#property-regions)
- Property [PdfUnderstandingPageResult.ImageRegions](/api/pdf/officeimo-pdf-pdfunderstandingpageresult/#property-imageregions)

Filter members 

Show inherited

## Constructors

`public PdfUnderstandingImageRegion(PdfImagePlacement placement, PdfUnderstandingSemanticElement? caption = null, double confidence = 0.5, IEnumerable<PdfInferenceEvidence>? evidence = null, bool isFigure = false, string? alternativeText = null)` [#](#constructor-ctor-officeimo-pdf-pdfimageplacement-officeimo-pdf-pdfunderstandingsemanticelement-double-collections-generic-ienumerable-officeimo-pdf-pdfinferenceevidence-boolean-string)

[PdfUnderstandingContracts.cs:301](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L301)

Creates an image region for a custom detection stage.

Parameters

**placement OfficeIMO.Pdf.PdfImagePlacement required**

**caption OfficeIMO.Pdf.PdfUnderstandingSemanticElement? = null optional**

**confidence double = 0.5 optional**

**evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optional**

**isFigure bool = false optional**

**alternativeText string? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfImagePlacement Placement { get; }` [#](#property-placement)

[PdfUnderstandingContracts.cs:321](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L321)

Source image placement represented by this region.

`public PdfUnderstandingSemanticElement? Caption { get; }` [#](#property-caption)

[PdfUnderstandingContracts.cs:324](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L324)

Caption associated by structural or geometric evidence, when available.

`public bool IsFigure { get; }` [#](#property-isfigure)

[PdfUnderstandingContracts.cs:327](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L327)

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

`public string? AlternativeText { get; }` [#](#property-alternativetext)

[PdfUnderstandingContracts.cs:330](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L330)

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

`public double Confidence { get; }` [#](#property-confidence)

[PdfUnderstandingContracts.cs:333](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L333)

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

`public IReadOnlyList<PdfInferenceEvidence> Evidence { get; }` [#](#property-evidence)

[PdfUnderstandingContracts.cs:336](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L336)

Stable evidence supporting the image region and optional caption association.

<!-- PowerForge markdown artifact sha256:FBC9BE23A0D9544F04E8831EB89290EFB95B24912C9D3E68057FF16212826AFA -->
