# OfficeChangeRegion

A rectangle on a page that shows where a change sits in its source document.

Class 

`OfficeIMO.Diff`

**Namespace**

`OfficeIMO.Diff`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeChangeSet.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L22)

**Modifiers**

sealed

A rectangle on a page that shows where a change sits in its source document.

## Inheritance

- object
- OfficeChangeRegion

## Remarks

Coordinates are in the source format's own page units; for PDF this is default user space (points, origin bottom-left).

## 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 1

- Property [OfficeChangeAnchor.Regions](/api/core/officeimo-diff-officechangeanchor/#property-regions)

### Accepted by parameters 1

- Constructor [OfficeChangeAnchor.OfficeChangeAnchor](/api/core/officeimo-diff-officechangeanchor/#constructor-ctor-int32-int32-nullable-system-int32-string-collections-generic-ienumerable-officeimo-diff-officechangeregion) parameter `regions`

Filter members 

Show inherited

## Constructors

`public OfficeChangeRegion(int pageNumber, double left, double bottom, double right, double top)` [#](#constructor-ctor-int32-double-double-double-double)

[OfficeChangeSet.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L22)

Creates a region.

Parameters

**pageNumber int required**

**left double required**

**bottom double required**

**right double required**

**top double required**

## 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 int PageNumber { get; }` [#](#property-pagenumber)

[OfficeChangeSet.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L32)

One-based page number.

`public double Left { get; }` [#](#property-left)

[OfficeChangeSet.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L35)

Left edge.

`public double Bottom { get; }` [#](#property-bottom)

[OfficeChangeSet.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L38)

Bottom edge.

`public double Right { get; }` [#](#property-right)

[OfficeChangeSet.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L41)

Right edge.

`public double Top { get; }` [#](#property-top)

[OfficeChangeSet.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Diff/OfficeChangeSet.cs#L44)

Top edge.

<!-- PowerForge markdown artifact sha256:2B6E2B5E8001821AAAA900F461DD5B7444CA59955FEBCE7114D6703F313CCBD9 -->
