# OcrRegion

Axis-aligned region attached to an OCR request or recognized span.

Class 

`OfficeIMO.Ocr`

**Namespace**

`OfficeIMO.Ocr`

**Assembly**

`OfficeIMO.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OcrModels.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L169)

**Modifiers**

sealed

Axis-aligned region attached to an OCR request or recognized span.

## Inheritance

- object
- OcrRegion

## Usage

Explore 2 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 2

- Property [OcrRequest.Region](/api/ocr/officeimo-ocr-ocrrequest/#property-region)
- Property [OcrTextSpan.Region](/api/ocr/officeimo-ocr-ocrtextspan/#property-region)

Filter members 

Show inherited

## Constructors

`public OcrRegion()` [#](#constructor-ctor)

## 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 double X { get; set; }` [#](#property-x)

[OcrModels.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L169)

Horizontal origin.

`public double Y { get; set; }` [#](#property-y)

[OcrModels.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L171)

Vertical origin.

`public double Width { get; set; }` [#](#property-width)

[OcrModels.cs:173](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L173)

Region width.

`public double Height { get; set; }` [#](#property-height)

[OcrModels.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L175)

Region height.

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