THotPDF.RegisterNChannelColorSpace Method
PDF 1.6 の DeviceN 属性形式を使用して、プロセスカラーのみ、またはプロセスカラーとスポットカラーが混在する NChannel 色空間を登録します
宣言
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;
ユニット
HPDFDoc
パラメータ
| 名前 | 目的 |
|---|---|
ColorantNames | NChannel のプロセス成分を、プロセス色空間へマッピングする名前 |
AlternateCS | DeviceGray, DeviceRGB, or DeviceCMYK process and alternate colour space |
TintC1Matrix | Tint transform matrix mapping colorant values into the alternate colour space |
ProcessColorantNames | マスターの colorant 配列に現れる、順序付けられたプロセス成分 |
TintTransform | マスターの colorant を代替色空間へマッピングする、N 成分の間接関数 |
SpotColorants | Spot names, Separation tint functions, optional solidities, and optional dot-gain functions |
PrintingOrder | すべてのプロセスとスポットの colorant を並べ替える、任意の順列 |
戻り値
ページの塗りと線の色空間 API で使用する、色空間のリソース名
使用上の注意
- Emits a five-element
DeviceNarray whose attributes dictionary contains/Subtype /NChanneland a matching/Processdictionary - PDF 1.6 以降が必要で、空の名前、重複した名前、
AllとNoneの成分名は拒否されます DeviceGrayは成分を 1 つ、DeviceRGBは順序付きの成分を 3 つ必要とします。DeviceCMYKの一部だけを指定する場合は、予約されたCyan、Magenta、Yellow、Blackの名前を使用します- The advanced overload emits individual Separation definitions in
/Colorants, exact/Processcomponents, and optional/MixingHintscontaining/Solidities,/PrintingOrder, and/DotGain - master、process、spot の各配列は、すべての colorant をちょうど 1 回ずつカバーする必要があります。tint 関数と dot-gain 関数は、有効な形状を持つ間接オブジェクトでなければならず、solidity は 0 から 1 の範囲になければなりません
- 同一ドキュメント内で、同じスポット名に異なる代替色空間や tint 関数を登録すると、出力前にエラーになります