# PdfRedactionCleanupScope

Additional document-level residue removed by an explicit redaction policy.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRedactionApplyOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L5)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

**Attributes**

`Flags`

Additional document-level residue removed by an explicit redaction policy.

## Inheritance

- Enum
- PdfRedactionCleanupScope

## Usage

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

- Property [PdfRedactionApplyOptions.CleanupScope](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/#property-cleanupscope)
- Field [PdfRedactionCleanupScope.All](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-all)
- Field [PdfRedactionCleanupScope.AlternateText](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-alternatetext)
- Field [PdfRedactionCleanupScope.Attachments](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-attachments)
- Field [PdfRedactionCleanupScope.Metadata](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-metadata)
- Field [PdfRedactionCleanupScope.None](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-none)
- Field [PdfRedactionCleanupScope.OptionalContent](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-optionalcontent)
- Field [PdfRedactionCleanupScope.StructureTree](/api/pdf/officeimo-pdf-pdfredactioncleanupscope/#field-structuretree)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const PdfRedactionCleanupScope None` [#](#field-none)

[PdfRedactionApplyOptions.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L7)

Only intersecting page content and annotations are changed, except that searched text is still removed from metadata, bookmark titles and alternate text.

Value: `0`

`public const PdfRedactionCleanupScope Metadata` [#](#field-metadata)

[PdfRedactionApplyOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L9)

Clear Info metadata and remove catalog/page XMP streams.

Value: `1`

`public const PdfRedactionCleanupScope Attachments` [#](#field-attachments)

[PdfRedactionApplyOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L11)

Remove embedded/associated files and file-attachment annotations.

Value: `2`

`public const PdfRedactionCleanupScope StructureTree` [#](#field-structuretree)

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

Remove the tagged structure tree and page structure-parent references.

Value: `4`

`public const PdfRedactionCleanupScope AlternateText` [#](#field-alternatetext)

[PdfRedactionApplyOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L15)

Remove alternate/actual text and form alternate-name entries.

Value: `8`

`public const PdfRedactionCleanupScope OptionalContent` [#](#field-optionalcontent)

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

Remove optional-content catalog, resource, and object references.

Value: `16`

`public const PdfRedactionCleanupScope All` [#](#field-all)

[PdfRedactionApplyOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L19)

Apply every document-level cleanup category.

Value: `31`

<!-- PowerForge markdown artifact sha256:88774BCAE79E4469B27066137CA30CB7EA10A36BE965752D7CFC2312CBC6540A -->
