# ColorConvertParams Class

> Holds parameters to be passed to a color convert method.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorConvertParams
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/llms.txt

```csharp
class ColorConvertParams : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

Holds parameters to be passed to a color convert method. This includes the actions to take in case of a match. Each object is compared against the selection criteria for each of the actions, in order, until a matching action is found.

**Referenced by:** [`ColorConvertParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorConvertParams.md), [`Document`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Document.md), [`Page`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Page.md)

**Uses types:** [`ColorConvertActions`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorConvertActions.md), [`ColorConvertParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorConvertParams.md), [`ColorProfile`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/ColorProfile.md), [`RenderIntent`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/RenderIntent.md)

## Constructors

### ColorConvertParams

```csharp
Datalogics.PDFL.ColorConvertParams.ColorConvertParams(System.Collections.Generic.IList< ColorConvertActions > convActions)
```

*constructor*

**Parameters**

- `convActions` ([`System.Collections.Generic.IList< ColorConvertActions >`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorConvertActions.md)): The list of ColorConvertActions to apply during color conversion.

Constructs a ColorConvertParams with the specified color conversion actions.

Initializes AllowLossyCompression to false, all default color profiles to null, and all render intents to Perceptual.

## Properties

### AllowLossyCompression

```csharp
bool Datalogics.PDFL.ColorConvertParams.AllowLossyCompression { get; set; }
```

### ColorConvActions

```csharp
System.Collections.Generic.IList<ColorConvertActions> Datalogics.PDFL.ColorConvertParams.ColorConvActions { get; set; }
```

### DefaultCMYK

```csharp
ColorProfile Datalogics.PDFL.ColorConvertParams.DefaultCMYK { get; set; }
```

### DefaultGray

```csharp
ColorProfile Datalogics.PDFL.ColorConvertParams.DefaultGray { get; set; }
```

### DefaultRGB

```csharp
ColorProfile Datalogics.PDFL.ColorConvertParams.DefaultRGB { get; set; }
```

### IntentCMYK

```csharp
RenderIntent Datalogics.PDFL.ColorConvertParams.IntentCMYK { get; set; }
```

### IntentGray

```csharp
RenderIntent Datalogics.PDFL.ColorConvertParams.IntentGray { get; set; }
```

### IntentRGB

```csharp
RenderIntent Datalogics.PDFL.ColorConvertParams.IntentRGB { get; set; }
```

## Methods

### Dispose

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

**Returns:** `void`
