# TranslationAction

Action selected by a translator for a source feature.

Enum 

`OfficeIMO.GoogleWorkspace`

**Namespace**

`OfficeIMO.GoogleWorkspace`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[TranslationReport.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L7)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Action selected by a translator for a source feature.

## Inheritance

- Enum
- TranslationAction

## Usage

Explore 14 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 [GoogleWorkspaceDiagnosticEntry.Action](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticentry/#property-action)
- Field [TranslationAction.Fail](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-fail)
- Field [TranslationAction.Flatten](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-flatten)
- Field [TranslationAction.None](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-none)
- Field [TranslationAction.Preserve](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-preserve)
- Field [TranslationAction.Rasterize](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-rasterize)
- Field [TranslationAction.Skip](/api/google-workspace/officeimo-googleworkspace-translationaction/#field-skip)
- Property [TranslationNotice.Action](/api/google-workspace/officeimo-googleworkspace-translationnotice/#property-action)

### Accepted by parameters 6

- Constructor [GoogleWorkspaceDiagnosticEntry.GoogleWorkspaceDiagnosticEntry](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticentry/#constructor-ctor-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `action`
- Method [GoogleWorkspaceDiagnosticsDispatcher.Add](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticsdispatcher/#method-add-officeimo-googleworkspace-translationreport-officeimo-googleworkspace-googleworkspacesessionoptions-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `action`
- Method [GoogleWorkspaceDiagnosticsDispatcher.AddUnique](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticsdispatcher/#method-addunique-officeimo-googleworkspace-translationreport-officeimo-googleworkspace-googleworkspacesessionoptions-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `action`
- Constructor [TranslationNotice.TranslationNotice](/api/google-workspace/officeimo-googleworkspace-translationnotice/#constructor-ctor-string-string-officeimo-googleworkspace-translationseverity-string-string-officeimo-googleworkspace-translationaction-int32-string) parameter `action`
- Method [TranslationReport.Add](/api/google-workspace/officeimo-googleworkspace-translationreport/#method-add-officeimo-googleworkspace-translationseverity-string-string-string-string-officeimo-googleworkspace-translationaction-int32-string) parameter `action`
- Method [TranslationReport.AddUnique](/api/google-workspace/officeimo-googleworkspace-translationreport/#method-addunique-officeimo-googleworkspace-translationseverity-string-string-string-string-officeimo-googleworkspace-translationaction-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 TranslationAction None` [#](#field-none)

[TranslationReport.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L9)

No target action has been selected.

Value: `0`

`public const TranslationAction Preserve` [#](#field-preserve)

[TranslationReport.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L11)

Preserve the source feature in its native target form.

Value: `1`

`public const TranslationAction Skip` [#](#field-skip)

[TranslationReport.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L13)

Omit the unsupported source feature.

Value: `2`

`public const TranslationAction Flatten` [#](#field-flatten)

[TranslationReport.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L15)

Convert the feature to a simpler editable representation.

Value: `3`

`public const TranslationAction Rasterize` [#](#field-rasterize)

[TranslationReport.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L17)

Render the feature as an image.

Value: `4`

`public const TranslationAction Fail` [#](#field-fail)

[TranslationReport.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/TranslationReport.cs#L19)

Record that the translation or operation failed.

Value: `5`

<!-- PowerForge markdown artifact sha256:339D7F9513321A23752E7AC381E20C51792343955D400B0E45206C65D1E57890 -->
