THotPDF.PDFUACompliance Property
Controls the pdf ua compliance 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 PDFUACompliance: boolean read FPDFUACompliance write FPDFUACompliance;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
This member does not return a value
Usage notes
PDFUAPartdefaults to1; set it to2beforeEndDocto emit PDF/UA-2 identification and require PDF 2.0- PDF/UA-2 emits
pdfuaid:part=2andpdfuaid:rev=2024in generated XMP - The PDF/UA-2 structure root must contain exactly one top-level
Documentelement - Use
RegisterStructureNamespaceandAddStructureElementNSfor custom namespaces;EndDocrejects missing, duplicate, direct, or unregistered namespace references - PDF 2.0 roles such as
DocumentFragment,Aside,Title,FENote,Sub,Em,Strong,Artifact, and open-endedHnheadings are accepted under PDF/UA-2