THotPDF.AddPDFX6ExternalOutputIntent Method
Adds an external ICC profile reference for PDF/X-6p or PDF/X-6n at Catalog or page scope
Deklaracija
procedure AddPDFX6ExternalOutputIntent(const OutputConditionIdentifier, Info, ProfileURL, ProfileCS: AnsiString; const CheckSumHex: AnsiString= ''; const ICCVersion: AnsiString= ''; PageIndex: Integer= -1; const OutputCondition: AnsiString= ''; const RegistryName: AnsiString= 'http://www.color.org'); overload;
Unit
HPDFDoc
Parametri
| Name | Svrha |
|---|---|
OutputConditionIdentifier | Required registered or customary printing condition identifier |
Info | Human-readable output-condition description |
ProfileURL | Absolute HTTP or HTTPS address of the referenced ICC profile |
ProfileCS | Four-byte ICC colour-space signature such as GRAY, RGB , CMYK, or 2CLR through FCLR |
ColorantNames | Two to fifteen unique names required by the N-colourant overload |
CheckSumHex | Optional 32-hex-character MD5 digest of the referenced profile |
ICCVersion | Optional four-byte binary ICC version value |
PageIndex | -1 for Catalog scope or a zero-based target page index |
OutputCondition | Optional full printing condition text |
RegistryName | Absolute HTTP or HTTPS registry URI |
Povratna vrijednost
Ne vraća vrijednost
Napomene za uporabu
The PDF/X-6n overload adds the required colourant names
procedure AddPDFX6ExternalOutputIntent(
const OutputConditionIdentifier, Info, ProfileURL,
ProfileCS: AnsiString; const ColorantNames: array of AnsiString;
const CheckSumHex, ICCVersion: AnsiString;
PageIndex: Integer = -1; const OutputCondition: AnsiString = '';
const RegistryName: AnsiString = 'http://www.color.org'); overload;
AddPDFX6ExternalOutputIntentSpotData extends a PDF 2.0 external intent with process and spot mixing data
procedure AddPDFX6ExternalOutputIntentSpotData(
const OutputConditionIdentifier, Info, ProfileURL,
ProfileCS: AnsiString; const ColorantNames: array of AnsiString;
const CheckSumHex, ICCVersion: AnsiString;
const SolidityNames: array of AnsiString;
const Solidities: array of Extended;
const PrintingOrder: array of AnsiString;
const SpectralColorantNames: array of AnsiString;
const SpectralData: array of TStream;
PageIndex: Integer = -1; const OutputCondition: AnsiString = '';
const RegistryName: AnsiString = 'http://www.color.org');
- Use the first overload for PDF/X-6p with
GRAY,RGB, orCMYK - Use the second overload for PDF/X-6n and keep the N-colourant signature count equal to
ColorantNames - A page-level external intent overrides any Catalog-level intent for that page
- The method rejects malformed URLs, signatures, checksums, ICC versions, duplicate colourants, and mismatched colourant counts before changing the object graph
- Spot spectral streams are limited to 16 MiB each, reject NUL, DOCTYPE, and ENTITY input, and require one matching CxF/X-4
SpotInkCharacterisationandSpotInkName - One colourant cannot carry both solidity and spectral data, printing order must be a complete permutation, and OutputIntent
ColorantTablevalues must cover every spot registered through the authoring APIs EndDocvalidates the effective external profile reference for'X-6p'and'X-6n'