THotPDF.RegisterNChannelColorSpace Method

Registers process-only or mixed process-and-spot NChannel color 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 color space
AlternateCSDeviceGray, DeviceRGB, or DeviceCMYK process and alternate color space
TintC1MatrixTint transform matrix mapping colorant values into the alternate color space
ProcessColorantNamesOrdered process components that occur in the master colourant array
TintTransformIndirect N-component function mapping the master colourants into the alternate color space
SpotColorantsSpot names, Separation tint functions, optional solidities, and optional dot-gain functions
PrintingOrderOptional permutation of every process and spot colourant

Return value

Color space resource name for use with page fill and stroke color space APIs

Usage notes

Related APIs