# PdfRedactionImageDecodeRequest

Describes an encoded PDF image passed to an optional redaction image decoder.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Describes an encoded PDF image passed to an optional redaction image decoder.

## Inheritance

- object
- PdfRedactionImageDecodeRequest

## Usage

Explore 1 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.

### Accepted by parameters 1

- Method [IPdfRedactionImageDecoder.TryDecode](/api/pdf/officeimo-pdf-ipdfredactionimagedecoder/#method-trydecode-officeimo-pdf-pdfredactionimagedecoderequest-officeimo-pdf-pdfredactiondecodedimage) parameter `request`

Filter members 

Show inherited

## 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 string ResourceName { get; }` [#](#property-resourcename)

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

PDF resource name used by the image placement.

`public int ObjectNumber { get; }` [#](#property-objectnumber)

[IPdfRedactionImageDecoder.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L30)

Indirect PDF object number, or zero for a direct image stream.

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

[IPdfRedactionImageDecoder.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L33)

Declared image width.

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

[IPdfRedactionImageDecoder.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L36)

Declared image height.

`public int BitsPerComponent { get; }` [#](#property-bitspercomponent)

[IPdfRedactionImageDecoder.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L39)

Declared component bit depth.

`public string ColorSpace { get; }` [#](#property-colorspace)

[IPdfRedactionImageDecoder.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L42)

Resolved or declared PDF color-space name.

`public string Filter { get; }` [#](#property-filter)

[IPdfRedactionImageDecoder.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L45)

PDF stream filter chain.

`public byte[] EncodedBytes { get; }` [#](#property-encodedbytes)

[IPdfRedactionImageDecoder.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L48)

Returns a snapshot of the encoded image-file bytes.

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