# PdfPixelRegion

Pixel rectangle excluded from visual comparison.

Struct 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfVisualComparisonOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L17)

**Base**

`ValueType`

**Modifiers**

sealed

Pixel rectangle excluded from visual comparison.

## Inheritance

- ValueType
- PdfPixelRegion

## 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 [PdfVisualComparisonOptions.IgnoredRegions](/api/pdf/officeimo-pdf-pdfvisualcomparisonoptions/#property-ignoredregions)
- Property [PdfVisualPageComparison.ChangedBounds](/api/pdf/officeimo-pdf-pdfvisualpagecomparison/#property-changedbounds)

Filter members 

Show inherited

## Constructors

`public PdfPixelRegion(int x, int y, int width, int height)` [#](#constructor-ctor-int32-int32-int32-int32)

[PdfVisualComparisonOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L17)

Creates an ignored pixel rectangle.

Parameters

**x int required**

**y int required**

**width int required**

**height int required**

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from ValueType

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from ValueType

Returns

`string?`

## Properties

`public int X { get; }` [#](#property-x)

[PdfVisualComparisonOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L25)

Left pixel.

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

[PdfVisualComparisonOptions.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L27)

Top pixel.

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

[PdfVisualComparisonOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L29)

Region width.

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

[PdfVisualComparisonOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Rendering/PdfVisualComparisonOptions.cs#L31)

Region height.

<!-- PowerForge markdown artifact sha256:2570CA73E6AEEC329FF8D7469C0334EC1EE8A5BE66109E2EF07772E7E2F42BC9 -->
