THotPDF.RegisterNChannelColorSpace Method

Registers process-only or mixed process-and-spot NChannel colour spaces using the PDF 1.6 DeviceN attributes form

Declaration

function RegisterNChannelColorSpace(
  const ColorantNames: array of AnsiString;
  const AlternateCS: AnsiString;
  const TintC1Matrix: array of Extended): AnsiString; overload;

function RegisterNChannelColorSpace(
  const ColorantNames, ProcessColorantNames: array of AnsiString;
  const AlternateCS: AnsiString; TintTransform: THPDFObject;
  const SpotColorants: array of THPDFNChannelSpotColorant;
  const PrintingOrder: array of AnsiString): AnsiString; overload;

Unit

HPDFDoc

Parameters

NamePurpose
ColorantNamesNames that map the NChannel process components into the process colour space
AlternateCSDeviceGray, DeviceRGB or DeviceCMYK process and alternate colour space
TintC1MatrixTint transform matrix mapping colorant values into the alternate colour space
ProcessColorantNamesOrdered process components that occur in the master colourant array
TintTransformIndirect N-component function mapping the master colourants into the alternate colour space
SpotColorantsSpot names, Separation tint functions, optional solidities and optional dot-gain functions
PrintingOrderOptional permutation of every process and spot colourant

Return value

Colour space resource name for use with page fill and stroke colour space APIs

Usage notes

Related APIs