# PdfRedactionArea

Rectangle requested for redaction planning, using PDF point coordinates from the page bottom-left.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRedactionArea.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L8)

**Modifiers**

sealed

Rectangle requested for redaction planning, using PDF point coordinates from the page bottom-left.

## Inheritance

- object
- PdfRedactionArea

## Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

## Usage

Explore 7 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 [PdfRedactionArea.WithLabel](/api/pdf/officeimo-pdf-pdfredactionarea/#method-withlabel-string)
- Property [PdfRedactionMatch.Area](/api/pdf/officeimo-pdf-pdfredactionmatch/#property-area)
- Property [PdfRedactionPlan.Areas](/api/pdf/officeimo-pdf-pdfredactionplan/#property-areas)
- Property [PdfRedactionRegion.Areas](/api/pdf/officeimo-pdf-pdfredactionregion/#property-areas)

### Accepted by parameters 3

- Method [PdfDocumentRedactions.Apply](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-apply-collections-generic-ienumerable-officeimo-pdf-pdfredactionarea-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `areas`
- Method [PdfDocumentRedactions.Plan](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-plan-collections-generic-ienumerable-officeimo-pdf-pdfredactionarea-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `areas`
- Method [PdfRedactionRegion.Group](/api/pdf/officeimo-pdf-pdfredactionregion/#method-group-int32-collections-generic-ienumerable-officeimo-pdf-pdfredactionarea-string) parameter `areas`

Filter members 

Show inherited

## Constructors

PdfRedactionArea 4 overloads

`public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label = null)` [#](#constructor-ctor-int32-double-double-double-double-string)

[PdfRedactionArea.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L8)

Creates a redaction area.

Parameters

**pageNumber int required**

**x double required**

**y double required**

**width double required**

**height double required**

**label string? = null optional**

`public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionContentScope contentScope)` [#](#constructor-ctor-int32-double-double-double-double-string-officeimo-pdf-pdfredactioncontentscope)

[PdfRedactionArea.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L13)

Creates a redaction area with an explicit intersecting-content policy.

Parameters

**pageNumber int required**

**x double required**

**y double required**

**width double required**

**height double required**

**label string? required**

**contentScope OfficeIMO.Pdf.PdfRedactionContentScope required**

`public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionAppearanceMode appearanceMode)` [#](#constructor-ctor-int32-double-double-double-double-string-officeimo-pdf-pdfredactionappearancemode)

[PdfRedactionArea.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L18)

Creates a redaction area with an explicit visible-appearance policy.

Parameters

**pageNumber int required**

**x double required**

**y double required**

**width double required**

**height double required**

**label string? required**

**appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode required**

`public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionContentScope contentScope, PdfRedactionAppearanceMode appearanceMode)` [#](#constructor-ctor-int32-double-double-double-double-string-officeimo-pdf-pdfredactioncontentscope-officeimo-pdf-pdfredactionappearancemode)

[PdfRedactionArea.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L23)

Creates a redaction area with explicit intersecting-content and visible-appearance policies.

Parameters

**pageNumber int required**

**x double required**

**y double required**

**width double required**

**height double required**

**label string? required**

**contentScope OfficeIMO.Pdf.PdfRedactionContentScope required**

**appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode required**

## Methods

`public PdfRedactionArea WithLabel(string? label)` [#](#method-withlabel-string)

[PdfRedactionArea.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L98)

Returns this area with a different review label, preserving its geometry and removal policy.

Parameters

**label string? required**

Returns

`PdfRedactionArea`

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

[PdfRedactionArea.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L64)

One-based page number.

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

[PdfRedactionArea.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L67)

Left coordinate in page user-space units.

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

[PdfRedactionArea.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L70)

Bottom coordinate in page user-space units.

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

[PdfRedactionArea.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L73)

Rectangle width in page user-space units.

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

[PdfRedactionArea.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L76)

Rectangle height in page user-space units.

`public string? Label { get; }` [#](#property-label)

[PdfRedactionArea.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L79)

Optional caller label.

`public PdfRedactionContentScope ContentScope { get; }` [#](#property-contentscope)

[PdfRedactionArea.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L84)

Intersecting content removal policy for this reviewed area.

`public PdfRedactionAppearanceMode AppearanceMode { get; }` [#](#property-appearancemode)

[PdfRedactionArea.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L87)

Visible privacy-appearance policy for this reviewed area.

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

[PdfRedactionArea.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L90)

Right coordinate in page user-space units.

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

[PdfRedactionArea.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionArea.cs#L93)

Top coordinate in page user-space units.

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