CreateSeparationColorSpace(String, PdfColor) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Creates a Separation colour space whose full tint looks like alternateColor, or returns the one this document already has for the same values.

public PdfSeparationColorSpace CreateSeparationColorSpace(string colorant, PdfColor alternateColor)

Parameters

colorant
String

The colourant's name, such as a spot ink's; All or None for the special colourants.

alternateColor
PdfColor

The colour a tint of 1.0 is shown as where the colourant is not available, in a device space, CalGray, CalRGB or a gray, RGB or CMYK ICCBased space; a tint of 0.0 is no ink (white).

Returns

PdfSeparationColorSpace
The space: [/Separation /colorant alternate tintTransform], an indirect array.

Remarks

ISO 32000-2 §8.6.6.4 (PDF 1.2). The tint transform is written as an exponential function (§7.10.3, Type 2, PDF 1.3) from the alternate's white (all 0 for CMYK, all 1 for additive spaces) at tint 0 to alternateColor at tint 1, with exponent 1. Records PDF 1.3. A mutation.