# OfficeImageMetadataInspectionOptions

Finite input and retained-evidence limits for passive image metadata inspection.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[OfficeImageMetadataInspection.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L6)

**Modifiers**

sealed

Finite input and retained-evidence limits for passive image metadata inspection.

## Inheritance

- object
- OfficeImageMetadataInspectionOptions

## Usage

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

- Method [OfficeImageMetadataInspectionOptions.Clone](/api/core/officeimo-drawing-officeimagemetadatainspectionoptions/#method-clone)

### Accepted by parameters 4

- Method [OfficeIccProfileInspector.Inspect](/api/core/officeimo-drawing-officeiccprofileinspector/#method-inspect-byte-officeimo-drawing-officeimagemetadatainspectionoptions-threading-cancellationtoken) parameter `options`
- Method [OfficeImageMetadata.Inspect](/api/core/officeimo-drawing-officeimagemetadata/#method-inspect-byte-officeimo-drawing-officeimagemetadatainspectionoptions-threading-cancellationtoken) parameter `options`
- Method [OfficeImageMetadata.InspectExifProfile](/api/core/officeimo-drawing-officeimagemetadata/#method-inspectexifprofile-byte-officeimo-drawing-officeimagemetadatainspectionoptions-threading-cancellationtoken) parameter `options`
- Method [OfficeXmpInspector.Inspect](/api/core/officeimo-drawing-officexmpinspector/#method-inspect-byte-officeimo-drawing-officeimagemetadatainspectionoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[OfficeImageMetadataInspection.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L6)

## Methods

`public OfficeImageMetadataInspectionOptions Clone()` [#](#method-clone)

[OfficeImageMetadataInspection.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L27)

Returns an independently owned validated policy snapshot.

Returns

`OfficeImageMetadataInspectionOptions`

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

[OfficeImageMetadataInspection.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L6)

Maximum encoded input bytes. Default: 16 MiB; hard ceiling: 128 MiB.

`public int MaximumProfileBytes { get; set; }` [#](#property-maximumprofilebytes)

[OfficeImageMetadataInspection.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L8)

Maximum bytes in one extracted profile. Default: 4 MiB; hard ceiling: 16 MiB.

`public int MaximumExifFields { get; set; }` [#](#property-maximumexiffields)

[OfficeImageMetadataInspection.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L10)

Maximum retained Exif field descriptors across the inspected profiles. Default: 512.

`public int MaximumExifValueBytes { get; set; }` [#](#property-maximumexifvaluebytes)

[OfficeImageMetadataInspection.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L12)

Maximum bytes decoded from one Exif value. Larger values retain their descriptor only.

`public int MaximumRetainedExifBytes { get; set; }` [#](#property-maximumretainedexifbytes)

[OfficeImageMetadataInspection.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L14)

Maximum aggregate encoded bytes of retained Exif values. Default: 4 MiB; hard ceiling: 64 MiB.

`public int MaximumXmpProperties { get; set; }` [#](#property-maximumxmpproperties)

[OfficeImageMetadataInspection.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L16)

Maximum retained XMP values. Default: 512.

`public int MaximumXmlNodes { get; set; }` [#](#property-maximumxmlnodes)

[OfficeImageMetadataInspection.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L18)

Maximum XML nodes examined before materialization. Default: 4096.

`public int MaximumValueCharacters { get; set; }` [#](#property-maximumvaluecharacters)

[OfficeImageMetadataInspection.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L20)

Maximum characters retained in one XMP value. Default: 4096.

`public int MaximumRetainedXmpCharacters { get; set; }` [#](#property-maximumretainedxmpcharacters)

[OfficeImageMetadataInspection.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L22)

Maximum aggregate retained XMP value and language characters. Default: one million.

`public int MaximumIccTags { get; set; }` [#](#property-maximumicctags)

[OfficeImageMetadataInspection.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Raster/OfficeImageMetadataInspection.cs#L24)

Maximum retained ICC tag descriptors. All tag ranges are still validated.

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