# Ink Class

> The ink object represents the color in the color space, CYMK or RGB.

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

```csharp
class Ink : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

The ink object represents the color in the color space, CYMK or RGB.

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

**Uses types:** [`InkTypes`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/InkTypes.md), [`SeparationPreviewOptions`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/SeparationPreviewOptions.md)

## Properties

### Alias

```csharp
string Datalogics.PDFL.Ink.Alias { get; set; }
```

An alternate name (alias) for this colorant.

### Angle

```csharp
double Datalogics.PDFL.Ink.Angle { get; set; }
```

The halftone screen angle for this ink, in degrees.

### Black

```csharp
double Datalogics.PDFL.Ink.Black { get; }
```

The black component of the CMYK color swatch.

### Blue

```csharp
int Datalogics.PDFL.Ink.Blue { get; }
```

The blue component of the RGB color swatch for on-screen display.

### ColorantName

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

The name of the colorant from the Separation or DeviceN color space, or the process color name.

### ColorantNameArray

```csharp
System.Byte [] Datalogics.PDFL.Ink.ColorantNameArray { get; }
```

The name of the colorant as a byte array.

The name of the colorant from the Separation or DeviceN color space, or the process color name. This property is suitable for retrieving the name when the ColorantName cannot be retrieved as a string.

### Cyan

```csharp
double Datalogics.PDFL.Ink.Cyan { get; }
```

The cyan component of the CMYK color swatch.

### Density

```csharp
double Datalogics.PDFL.Ink.Density { get; set; }
```

The neutral density of this ink.

### Frequency

```csharp
double Datalogics.PDFL.Ink.Frequency { get; set; }
```

The halftone screen frequency for this ink, in lines per inch.

### Green

```csharp
int Datalogics.PDFL.Ink.Green { get; }
```

The green component of the RGB color swatch for on-screen display.

### InkType

```csharp
InkTypes Datalogics.PDFL.Ink.InkType { get; set; }
```

The ink type of this ink, used for trapping.

### IsProcessColor

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

Whether this ink represents a process color or a spot color.

True if this is a process color, false if this is a spot color.

### Magenta

```csharp
double Datalogics.PDFL.Ink.Magenta { get; }
```

The magenta component of the CMYK color swatch.

### PreviewOption

```csharp
SeparationPreviewOptions Datalogics.PDFL.Ink.PreviewOption { get; set; }
```

How the colorant is handled during a separation preview.

### Red

```csharp
int Datalogics.PDFL.Ink.Red { get; }
```

The red component of the RGB color swatch for on-screen display.

### Yellow

```csharp
double Datalogics.PDFL.Ink.Yellow { get; }
```

The yellow component of the CMYK color swatch.

## Methods

### Dispose

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

**Returns:** `void`
