THotPDF.AddPDFXOutputIntent Method
Adds a colour-profile-backed PDF/X output intent with production condition and registry metadata
Declaration
procedure AddPDFXOutputIntent(const OutputConditionIdentifier: AnsiString;
const Info: AnsiString; ICCProfileStream: TStream;
NumComponents: Integer; const AlternateCS: AnsiString;
const OutputCondition: AnsiString= '';
const RegistryName: AnsiString= 'http://www.color.org');
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
OutputConditionIdentifier | Input used by AddPDFXOutputIntent |
Info | Input used by AddPDFXOutputIntent |
ICCProfileStream | Stream instance used as the source or destination for byte data |
NumComponents | Number of color components in the ICC profile, normally 1, 3, or 4 |
AlternateCS | Fallback color space name written as the profile alternate color space |
OutputCondition | Human-readable production condition, defaulting to the identifier when empty |
RegistryName | Absolute HTTP or HTTPS URI naming the output-condition registry |
Return value
This member does not return a value
Usage notes
- PDF/X-1a requires a four-component profile, while other supported PDF/X profiles accept one, three, or four components
- Final PDF/X validation requires a non-empty identifier plus output condition or information string
- Print-control validation rejects invalid
/OP,/op, and/OPMvalues and refuses inactive/OPM 1