THotPDF.PDFXCompliance Property
Controls the PDFXCompliance setting used by the document creation workflow. Set it before the related page, document or resource output is written so the generated PDF records the intended state
Declaration
property PDFXCompliance: AnsiString read FPDFXCompliance write FPDFXCompliance;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns the current value of the PDFXCompliance property
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Conformance settings can restrict encryption, transparency, JavaScript, XFA, annotations, actions, colour spaces, and output intents
- With
X-1a,EndDocalso validates content colour and raises when any page content or resource (named colour spaces, image XObjects, Form XObjects, tiling and shading Patterns, shading dictionaries) uses DeviceRGB, CalRGB, or ICCBased RGB; this check runs over the already-written document, so RGB content drawn before the compliance mode or the GTS_PDFX OutputIntent is selected is rejected as well — convert such content to DeviceCMYK / DeviceGray / spot colourants, or useX-3/X-4for colour-managed workflows - Every profile writes its identification to the XMP
pdfx:GTS_PDFXVersionproperty.X-1aandX-3also write it to the document information dictionary, where ISO 15930-1 and ISO 15930-3 place it:X-1awrites/GTS_PDFXVersion (PDF/X-1:2001)with/GTS_PDFXConformance (PDF/X-1a:2001), andX-3writes/GTS_PDFXVersion (PDF/X-3:2002). Because every profile also requires the/Trappedentry there,EndDocturnsInformationback on under any PDF/X profile, just as it turns onEnableXMPMetadata, so settingInformationtoFalsecannot drop these mandatory entries; the other document information entries are written as well