# RtfConversionAction

Action taken for a source feature during conversion.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfConversionAction.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Action taken for a source feature during conversion.

## Inheritance

- Enum
- RtfConversionAction

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

- Field [RtfConversionAction.Blocked](/api/rtf/officeimo-rtf-rtfconversionaction/#field-blocked)
- Field [RtfConversionAction.Flattened](/api/rtf/officeimo-rtf-rtfconversionaction/#field-flattened)
- Field [RtfConversionAction.Omitted](/api/rtf/officeimo-rtf-rtfconversionaction/#field-omitted)
- Field [RtfConversionAction.Preserved](/api/rtf/officeimo-rtf-rtfconversionaction/#field-preserved)
- Field [RtfConversionAction.Substituted](/api/rtf/officeimo-rtf-rtfconversionaction/#field-substituted)
- Property [RtfConversionDiagnostic.Action](/api/rtf/officeimo-rtf-rtfconversiondiagnostic/#property-action)

### Accepted by parameters 2

- Constructor [RtfConversionDiagnostic.RtfConversionDiagnostic](/api/rtf/officeimo-rtf-rtfconversiondiagnostic/#constructor-ctor-officeimo-rtf-rtfconversionseverity-string-string-officeimo-rtf-rtfconversionaction-string-string-int32-string) parameter `action`
- Method [RtfConversionReport.Add](/api/rtf/officeimo-rtf-rtfconversionreport/#method-add-officeimo-rtf-rtfconversionseverity-string-string-officeimo-rtf-rtfconversionaction-string-string-int32-string) parameter `action`

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 RtfConversionAction Preserved` [#](#field-preserved)

[RtfConversionAction.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L6)

The feature was preserved.

Value: `0`

`public const RtfConversionAction Flattened` [#](#field-flattened)

[RtfConversionAction.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L9)

The feature was represented with reduced structure or fidelity.

Value: `1`

`public const RtfConversionAction Omitted` [#](#field-omitted)

[RtfConversionAction.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L12)

The feature was not written to the destination.

Value: `2`

`public const RtfConversionAction Blocked` [#](#field-blocked)

[RtfConversionAction.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L15)

The feature or resource was intentionally rejected by policy.

Value: `3`

`public const RtfConversionAction Substituted` [#](#field-substituted)

[RtfConversionAction.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Conversion/RtfConversionAction.cs#L18)

The destination used a replacement representation.

Value: `4`

<!-- PowerForge markdown artifact sha256:7075D56B7CF90C980DB5DF0CE55D7EE79A54A929F6184510BC7A119CAAC2AD6D -->
