# OfficeContentCleanupOptions

Controls explicit artifact cleanup and signature invalidation policy.

Class 

`OfficeIMO.ContentSafety`

**Namespace**

`OfficeIMO.ContentSafety`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeContentSafetyContracts.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L224)

**Modifiers**

sealed

Controls explicit artifact cleanup and signature invalidation policy.

## Inheritance

- object
- OfficeContentCleanupOptions

## 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 [OfficeSvgDrawingReader.RemoveSelectedContent](/api/core/officeimo-drawing-officesvgdrawingreader/#method-removeselectedcontent-byte-officeimo-contentsafety-officecontentcleanupselection-officeimo-contentsafety-officecontentcleanupoptions-officeimo-drawing-officesvgdrawingreaderoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public OfficeContentCleanupOptions()` [#](#constructor-ctor)

[OfficeContentSafetyContracts.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L224)

## 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 OfficeContentSafetyOptions Inspection { get; set; }` [#](#property-inspection)

[OfficeContentSafetyContracts.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L224)

Inspection thresholds used before and after cleanup.

`public OfficeSignatureMutationPolicy SignatureMutationPolicy { get; set; }` [#](#property-signaturemutationpolicy)

[OfficeContentSafetyContracts.cs:226](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L226)

How package mutation handles existing digital signatures. Defaults to fail closed.

<!-- PowerForge markdown artifact sha256:64CC104F37DF3E5BF2C6F3B3EB81BDCF843246C554A713DB5DF05138257AA732 -->
