# ColorConvertActions Class

> Class that defines color conversion actions for an object described by certain attributes.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/ColorConvertActions
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class ColorConvertActions : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Class that defines color conversion actions for an object described by certain attributes.

**Referenced by:** [`ColorConvertParams`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/ColorConvertParams.md)

**Uses types:** [`ColorConvertActionType`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ColorConvertActionType.md), [`ColorConvertCSpaceType`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ColorConvertCSpaceType.md), [`ColorConvertObjAttrs`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ColorConvertObjAttrs.md), [`ColorProfile`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ColorProfile.md), [`RenderIntent`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/RenderIntent.md)

## Constructors

### ColorConvertActions

```csharp
Datalogics.PDFL.ColorConvertActions.ColorConvertActions()
```

*constructor*

Default constructor for the ColorConvertActions class. Sets default values to the members.

## Properties

### Action

```csharp
ColorConvertActionType Datalogics.PDFL.ColorConvertActions.Action { get; set; }
```

Gets / sets the action, specifying what to do when an object matches this Settings record.

### ColorantName

```csharp
string Datalogics.PDFL.ColorConvertActions.ColorantName { get; set; }
```

For ink actions (which describe a single colorant, whether used in Separation or DeviceN, and which are not matched using the above matching fields) this describes the colorant of the ink.

### ConvertIntent

```csharp
RenderIntent Datalogics.PDFL.ColorConvertActions.ConvertIntent { get; set; }
```

Gets / sets the intent that overrides the object's original render intent when performing color conversion. UseProfileIntent means that the intent of the object must not be overridden.

### ConvertProfile

```csharp
ColorProfile Datalogics.PDFL.ColorConvertActions.ConvertProfile { get; set; }
```

Gets / sets the target ColorProfile for the conversion. If the output intent is embedded, this should be the output intent profile.

### ConvertProfilePath

```csharp
string Datalogics.PDFL.ColorConvertActions.ConvertProfilePath { get; set; }
```

Gets / sets the target ColorProfile for the conversion using the profile found at the path provided. If the output intent is embedded, this should be the output intent profile. NOTE: If specifying a path, ConvertProfile must be set to Null_ColorProfile.

### EmbedColorProfile

```csharp
bool Datalogics.PDFL.ColorConvertActions.EmbedColorProfile { get; set; }
```

If true, embed the target profile. If false, the resulting color is Device, if possible.

### InkAlias

```csharp
string Datalogics.PDFL.ColorConvertActions.InkAlias { get; set; }
```

Gets / sets the ink alias, this only applies to ink actions.

### IntentToMatch

```csharp
RenderIntent Datalogics.PDFL.ColorConvertActions.IntentToMatch { get; set; }
```

Gets / sets the rendering intent of the object. If this is UseProfileIntent this action applies to any intent.

### IsInkAction

```csharp
bool Datalogics.PDFL.ColorConvertActions.IsInkAction { get; set; }
```

Marks this Action to be applied to inks.

### IsProcessColor

```csharp
bool Datalogics.PDFL.ColorConvertActions.IsProcessColor { get; set; }
```

True if this ink is a process ink.

### MaxFontSizeMatch

```csharp
double Datalogics.PDFL.ColorConvertActions.MaxFontSizeMatch { get; set; }
```

Gets / sets the maximum font size to match for text objects.

### MinFontSizeMatch

```csharp
double Datalogics.PDFL.ColorConvertActions.MinFontSizeMatch { get; set; }
```

Gets / sets the minimum font size to match for text objects.

### MustMatchAllAttrs

```csharp
ColorConvertObjAttrs Datalogics.PDFL.ColorConvertActions.MustMatchAllAttrs { get; set; }
```

A bit field that gets / sets the attributes an element must match to be color converted. The element must match ALL these attributes to be color converted.

### MustMatchAllCSAttrs

```csharp
ColorConvertCSpaceType Datalogics.PDFL.ColorConvertActions.MustMatchAllCSAttrs { get; set; }
```

A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element must match ALL these Color Space attributes to be color converted.

### MustMatchAnyAttrs

```csharp
ColorConvertObjAttrs Datalogics.PDFL.ColorConvertActions.MustMatchAnyAttrs { get; set; }
```

A bit field that gets / sets the attributes an element must match to be color converted. The element can match ONE OR MORE of these attributes to be color converted.

### MustMatchAnyCSAttrs

```csharp
ColorConvertCSpaceType Datalogics.PDFL.ColorConvertActions.MustMatchAnyCSAttrs { get; set; }
```

A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element can match ONE OR MORE Color Space attributes to be color converted.

### PreserveBlack

```csharp
bool Datalogics.PDFL.ColorConvertActions.PreserveBlack { get; set; }
```

If true, perform a black-preserving transform when converting.

### PreserveCMYKPrimaries

```csharp
bool Datalogics.PDFL.ColorConvertActions.PreserveCMYKPrimaries { get; set; }
```

If true, use a primary-preserving CMYK to CMYK transform.

### PromoteGrayToCMYK

```csharp
bool Datalogics.PDFL.ColorConvertActions.PromoteGrayToCMYK { get; set; }
```

If true, promote DeviceGray objects to DeviceCMYK with k = 1.0 - gray value.

### UseBlackPointCompensation

```csharp
bool Datalogics.PDFL.ColorConvertActions.UseBlackPointCompensation { get; set; }
```

If true, turn on black point compensation for color conversions.

## Methods

### Dispose

```csharp
void Datalogics.PDFL.ColorConvertActions.Dispose()
```

**Returns:** `void`
