# ColorConvertActions Class

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

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

```java
class ColorConvertActions
```

**Namespace:** `com::datalogics::PDFL`

## Description

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

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

## Constructors

### ColorConvertActions

```java
com.datalogics.PDFL.ColorConvertActions.ColorConvertActions()
```

*constructor*

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

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.ColorConvertActions.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.ColorConvertActions.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.ColorConvertActions.finalize()
```

*protected*

**Returns:** `void`

### getAction

```java
ColorConvertActionType com.datalogics.PDFL.ColorConvertActions.getAction()
```

**Returns:** `ColorConvertActionType`

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

### getColorantName

```java
String com.datalogics.PDFL.ColorConvertActions.getColorantName()
```

**Returns:** `String`

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.

### getConvertIntent

```java
RenderIntent com.datalogics.PDFL.ColorConvertActions.getConvertIntent()
```

**Returns:** `RenderIntent`

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.

### getConvertProfile

```java
ColorProfile com.datalogics.PDFL.ColorConvertActions.getConvertProfile()
```

**Returns:** `ColorProfile`

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

### getConvertProfilePath

```java
String com.datalogics.PDFL.ColorConvertActions.getConvertProfilePath()
```

**Returns:** `String`

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.

### getEmbedColorProfile

```java
boolean com.datalogics.PDFL.ColorConvertActions.getEmbedColorProfile()
```

**Returns:** `boolean`

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

### getInkAlias

```java
String com.datalogics.PDFL.ColorConvertActions.getInkAlias()
```

**Returns:** `String`

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

### getIntentToMatch

```java
RenderIntent com.datalogics.PDFL.ColorConvertActions.getIntentToMatch()
```

**Returns:** `RenderIntent`

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

### getIsInkAction

```java
boolean com.datalogics.PDFL.ColorConvertActions.getIsInkAction()
```

**Returns:** `boolean`

Marks this Action to be applied to inks.

### getIsProcessColor

```java
boolean com.datalogics.PDFL.ColorConvertActions.getIsProcessColor()
```

**Returns:** `boolean`

True if this ink is a process ink.

### getMaxFontSizeMatch

```java
double com.datalogics.PDFL.ColorConvertActions.getMaxFontSizeMatch()
```

**Returns:** `double`

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

### getMinFontSizeMatch

```java
double com.datalogics.PDFL.ColorConvertActions.getMinFontSizeMatch()
```

**Returns:** `double`

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

### getMustMatchAllAttrs

```java
ColorConvertObjAttrs com.datalogics.PDFL.ColorConvertActions.getMustMatchAllAttrs()
```

**Returns:** `ColorConvertObjAttrs`

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.

### getMustMatchAllCSAttrs

```java
ColorConvertCSpaceType com.datalogics.PDFL.ColorConvertActions.getMustMatchAllCSAttrs()
```

**Returns:** `ColorConvertCSpaceType`

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.

### getMustMatchAnyAttrs

```java
ColorConvertObjAttrs com.datalogics.PDFL.ColorConvertActions.getMustMatchAnyAttrs()
```

**Returns:** `ColorConvertObjAttrs`

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.

### getMustMatchAnyCSAttrs

```java
ColorConvertCSpaceType com.datalogics.PDFL.ColorConvertActions.getMustMatchAnyCSAttrs()
```

**Returns:** `ColorConvertCSpaceType`

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.

### getPreserveBlack

```java
boolean com.datalogics.PDFL.ColorConvertActions.getPreserveBlack()
```

**Returns:** `boolean`

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

### getPreserveCMYKPrimaries

```java
boolean com.datalogics.PDFL.ColorConvertActions.getPreserveCMYKPrimaries()
```

**Returns:** `boolean`

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

### getPromoteGrayToCMYK

```java
boolean com.datalogics.PDFL.ColorConvertActions.getPromoteGrayToCMYK()
```

**Returns:** `boolean`

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

### getUseBlackPointCompensation

```java
boolean com.datalogics.PDFL.ColorConvertActions.getUseBlackPointCompensation()
```

**Returns:** `boolean`

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

### setAction

```java
void com.datalogics.PDFL.ColorConvertActions.setAction(ColorConvertActionType newAction)
```

**Parameters**

- `newAction` (`ColorConvertActionType`)

**Returns:** `void`

### setColorantName

```java
void com.datalogics.PDFL.ColorConvertActions.setColorantName(String newName)
```

**Parameters**

- `newName` (`String`)

**Returns:** `void`

### setConvertIntent

```java
void com.datalogics.PDFL.ColorConvertActions.setConvertIntent(RenderIntent newIntent)
```

**Parameters**

- `newIntent` (`RenderIntent`)

**Returns:** `void`

### setConvertProfile

```java
void com.datalogics.PDFL.ColorConvertActions.setConvertProfile(ColorProfile newProfile)
```

**Parameters**

- `newProfile` (`ColorProfile`)

**Returns:** `void`

### setConvertProfilePath

```java
void com.datalogics.PDFL.ColorConvertActions.setConvertProfilePath(String newProfilePath)
```

**Parameters**

- `newProfilePath` (`String`)

**Returns:** `void`

### setEmbedColorProfile

```java
void com.datalogics.PDFL.ColorConvertActions.setEmbedColorProfile(boolean newEmbedCProfile)
```

**Parameters**

- `newEmbedCProfile` (`boolean`)

**Returns:** `void`

### setInkAlias

```java
void com.datalogics.PDFL.ColorConvertActions.setInkAlias(String newAlias)
```

**Parameters**

- `newAlias` (`String`)

**Returns:** `void`

### setIntentToMatch

```java
void com.datalogics.PDFL.ColorConvertActions.setIntentToMatch(RenderIntent newIntent)
```

**Parameters**

- `newIntent` (`RenderIntent`)

**Returns:** `void`

### setIsInkAction

```java
void com.datalogics.PDFL.ColorConvertActions.setIsInkAction(boolean newIsInkAction)
```

**Parameters**

- `newIsInkAction` (`boolean`)

**Returns:** `void`

### setIsProcessColor

```java
void com.datalogics.PDFL.ColorConvertActions.setIsProcessColor(boolean newIsProcessColor)
```

**Parameters**

- `newIsProcessColor` (`boolean`)

**Returns:** `void`

### setMaxFontSizeMatch

```java
void com.datalogics.PDFL.ColorConvertActions.setMaxFontSizeMatch(double newSize)
```

**Parameters**

- `newSize` (`double`)

**Returns:** `void`

### setMinFontSizeMatch

```java
void com.datalogics.PDFL.ColorConvertActions.setMinFontSizeMatch(double newSize)
```

**Parameters**

- `newSize` (`double`)

**Returns:** `void`

### setMustMatchAllAttrs

```java
void com.datalogics.PDFL.ColorConvertActions.setMustMatchAllAttrs(ColorConvertObjAttrs newAttrs)
```

**Parameters**

- `newAttrs` (`ColorConvertObjAttrs`)

**Returns:** `void`

### setMustMatchAllCSAttrs

```java
void com.datalogics.PDFL.ColorConvertActions.setMustMatchAllCSAttrs(ColorConvertCSpaceType newCSAttrs)
```

**Parameters**

- `newCSAttrs` (`ColorConvertCSpaceType`)

**Returns:** `void`

### setMustMatchAnyAttrs

```java
void com.datalogics.PDFL.ColorConvertActions.setMustMatchAnyAttrs(ColorConvertObjAttrs newAttrs)
```

**Parameters**

- `newAttrs` (`ColorConvertObjAttrs`)

**Returns:** `void`

### setMustMatchAnyCSAttrs

```java
void com.datalogics.PDFL.ColorConvertActions.setMustMatchAnyCSAttrs(ColorConvertCSpaceType newCSAttrs)
```

**Parameters**

- `newCSAttrs` (`ColorConvertCSpaceType`)

**Returns:** `void`

### setPreserveBlack

```java
void com.datalogics.PDFL.ColorConvertActions.setPreserveBlack(boolean newPreserveBlack)
```

**Parameters**

- `newPreserveBlack` (`boolean`)

**Returns:** `void`

### setPreserveCMYKPrimaries

```java
void com.datalogics.PDFL.ColorConvertActions.setPreserveCMYKPrimaries(boolean newPreserveCMYKPrimaries)
```

**Parameters**

- `newPreserveCMYKPrimaries` (`boolean`)

**Returns:** `void`

### setPromoteGrayToCMYK

```java
void com.datalogics.PDFL.ColorConvertActions.setPromoteGrayToCMYK(boolean newPromoteGrayToCMYK)
```

**Parameters**

- `newPromoteGrayToCMYK` (`boolean`)

**Returns:** `void`

### setUseBlackPointCompensation

```java
void com.datalogics.PDFL.ColorConvertActions.setUseBlackPointCompensation(boolean newBlackPointCompensation)
```

**Parameters**

- `newBlackPointCompensation` (`boolean`)

**Returns:** `void`
