# SeparationPlate Class

> Represents a plate for making print separations.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

```cpp
class SeparationPlate
```

**Namespace:** `datalogics_interface`

## Description

Represents a plate for making print separations. Used with PostScript.

**Referenced by:** [`SeparationParams`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationParams.md)

**Uses types:** [`InkType`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/InkType.md), [`SeparationPreviewOption`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/SeparationPreviewOption.md)

## Constructors

### SeparationPlate

```cpp
datalogics_interface::SeparationPlate::SeparationPlate()
```

*constructor*

Default constructor (needed for containers).

### SeparationPlate

```cpp
datalogics_interface::SeparationPlate::SeparationPlate(const Ink &colorant)
```

*constructor*

**Parameters**

- `colorant` ([`const Ink &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/Ink.md))

Represents a plate for making print separations. Used with PostScript.

### SeparationPlate

```cpp
datalogics_interface::SeparationPlate::SeparationPlate(const Ink &colorant, std::ostream &eps_output)
```

*constructor*

**Parameters**

- `colorant` ([`const Ink &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/Ink.md))
- `eps_output` (`std::ostream &`)

Create a separation plate for a given ink, writing EPS output to a stream. The stream must remain valid through the MakeSeparations call.

### SeparationPlate

```cpp
datalogics_interface::SeparationPlate::SeparationPlate(const SeparationPlate &other)
```

*constructor*

**Parameters**

- `other` ([`const SeparationPlate &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md))

Copy constructor.

### SeparationPlate

```cpp
datalogics_interface::SeparationPlate::SeparationPlate(SeparationPlate &&) noexcept
```

*constructor*

**Parameters**

- (unnamed) ([`SeparationPlate &&`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md))

### ~SeparationPlate

```cpp
datalogics_interface::SeparationPlate::~SeparationPlate()
```

*destructor*

## Methods

### get_alias

```cpp
std::string datalogics_interface::SeparationPlate::get_alias() const
```

**Returns:** `std::string`

The alias name for this colorant.

Another name for this colorant.

### get_angle

```cpp
double datalogics_interface::SeparationPlate::get_angle() const
```

**Returns:** `double`

The halftone screen angle for this ink, in degrees.

The angle for this ink. The angle must be greater than or equal to zero. The default is 45.0.

### get_colorant_name

```cpp
std::string datalogics_interface::SeparationPlate::get_colorant_name() const
```

**Returns:** `std::string`

The colorant name for this separation plate.

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

### get_density

```cpp
double datalogics_interface::SeparationPlate::get_density() const
```

**Returns:** `double`

The density value for this ink.

The density for this ink. The density must be greater than zero. The default is 1.0.

### get_frequency

```cpp
double datalogics_interface::SeparationPlate::get_frequency() const
```

**Returns:** `double`

The halftone screen frequency for this ink.

The frequency for this ink. The frequency must be greater than zero. The default is 60.0.

### get_ink_type

```cpp
InkType datalogics_interface::SeparationPlate::get_ink_type() const
```

**Returns:** [`InkType`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/InkType.md)

The ink type for this separation plate.

The ink type of this ink for trapping. The default is Normal.

### get_preview_option

```cpp
SeparationPreviewOption datalogics_interface::SeparationPlate::get_preview_option() const
```

**Returns:** [`SeparationPreviewOption`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/SeparationPreviewOption.md)

The preview option for this separation plate.

How to handle the colorant for a separation preview. The default is EmitPlate.

### operator=

```cpp
SeparationPlate & datalogics_interface::SeparationPlate::operator=(const SeparationPlate &other)
```

**Parameters**

- `other` ([`const SeparationPlate &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md))

**Returns:** [`SeparationPlate &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md)

Copy assignment.

### operator=

```cpp
SeparationPlate & datalogics_interface::SeparationPlate::operator=(SeparationPlate &&) noexcept
```

**Parameters**

- (unnamed) ([`SeparationPlate &&`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md))

**Returns:** [`SeparationPlate &`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/class/SeparationPlate.md)

### set_alias

```cpp
void datalogics_interface::SeparationPlate::set_alias(const std::string &alias)
```

**Parameters**

- `alias` (`const std::string &`): The alias name to assign to this colorant.

**Returns:** `void`

Another name for this colorant.

### set_angle

```cpp
void datalogics_interface::SeparationPlate::set_angle(double angle)
```

**Parameters**

- `angle` (`double`): The halftone screen angle to assign to this ink, in degrees.

**Returns:** `void`

The angle for this ink. The angle must be greater than or equal to zero. The default is 45.0.

### set_colorant_name

```cpp
void datalogics_interface::SeparationPlate::set_colorant_name(const std::string &name)
```

**Parameters**

- `name` (`const std::string &`): The colorant name to assign to this separation plate.

**Returns:** `void`

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

### set_density

```cpp
void datalogics_interface::SeparationPlate::set_density(double density)
```

**Parameters**

- `density` (`double`): The density value to assign to this ink.

**Returns:** `void`

The density for this ink. The density must be greater than zero. The default is 1.0.

### set_frequency

```cpp
void datalogics_interface::SeparationPlate::set_frequency(double frequency)
```

**Parameters**

- `frequency` (`double`): The halftone screen frequency to assign to this ink.

**Returns:** `void`

The frequency for this ink. The frequency must be greater than zero. The default is 60.0.

### set_ink_type

```cpp
void datalogics_interface::SeparationPlate::set_ink_type(InkType type)
```

**Parameters**

- `type` ([`InkType`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/InkType.md)): The ink type to assign to this separation plate.

**Returns:** `void`

The ink type of this ink for trapping. The default is Normal.

### set_preview_option

```cpp
void datalogics_interface::SeparationPlate::set_preview_option(SeparationPreviewOption option)
```

**Parameters**

- `option` ([`SeparationPreviewOption`](https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/SeparationPreviewOption.md)): The preview option to assign to this separation plate.

**Returns:** `void`

How to handle the colorant for a separation preview. The default is EmitPlate.
