Metoda THotPDF.ValidatePDFX6
Runs bounded PDF/X-6, PDF/X-6p, or PDF/X-6n validation over the current producer or loaded object graph without mutating the document
Declaration
function ValidatePDFX6(
const Options: THPDFPDFX6ValidationOptions;
out Issues: THPDFPDFX6ValidationIssues): boolean; overload;
function ValidatePDFX6(
const Options: THPDFPDFX6ValidationOptions;
out Findings: THPDFComplianceFindings): boolean; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Options | Selects the profile, traversal budgets, and independently switchable validation groups |
Issues | Receives stable structured diagnostics in traversal order |
Return value
Returns True only when no x6isError diagnostic remains
Usage notes
THPDFPDFX6ValidationOptions.Default selects px6Automatic, a 1,000,000-object budget, a 256-issue budget, and all validation groups
| Field | Purpose |
|---|---|
Profile | Uses THPDFPDFX6Profile to select automatic, complete, external, or N-colourant validation |
MaxObjects | Bounds indirect and reachable-object traversal |
MaxIssues | Bounds retained diagnostics and emits a stable limit issue when exhausted |
CheckOutputIntents | Checks effective Catalog or page output intents and embedded or external profiles |
CheckPageBoxes | Checks inherited MediaBox and CropBox plus direct BleedBox, TrimBox, and ArtBox geometry |
CheckExchangeConstraints | Checks actions, forms, graphics state, XObjects, optional presentation data, and related exchange restrictions |
CheckEmbeddedFonts | Checks embedded font programs and Type 0 descendants |
CheckAnnotations | Checks annotation subtype, flags, and fixed normal appearances |
THPDFPDFX6IssueSeveritydistinge avertismentele de erori- Fiecare
THPDFPDFX6ValidationIssuepoartă un cod stabil, o clauză, o cale de obiect, un număr de obiect, un index de pagină bazat pe zero și un mesaj THPDFPDFX6ValidationIssuespăstrează ordinea deterministă de descoperire pentru ieșire CI reproductibilă- Supraîncărcarea
THPDFComplianceFindingsmapează aceeași trecere la profilul partajat de constatăriPDF/X-6fără traversare suplimentară a grafului - Intențiile de ieșire la nivel de pagină suprascriu domeniul Catalogului, așa cum cere PDF 2.0
- Validation is non-mutating and shared resources are scanned once by object identity