THotPDF.ValidatePDFX6 Method

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

宣言

function ValidatePDFX6(
  const Options: THPDFPDFX6ValidationOptions;
  out Issues: THPDFPDFX6ValidationIssues): boolean; overload;

function ValidatePDFX6(
  const Options: THPDFPDFX6ValidationOptions;
  out Findings: THPDFComplianceFindings): boolean; overload;

ユニット

HPDFDoc

パラメータ

名前目的
OptionsSelects the profile, traversal budgets, and independently switchable validation groups
IssuesReceives stable structured diagnostics in traversal order

戻り値

Returns True only when no x6isError diagnostic remains

使用上の注意

THPDFPDFX6ValidationOptions.Default selects px6Automatic, x6rsResolvedErrata2025, a 1,000,000-object budget, a 1,024-issue budget, 64 MiB of decoded data, 4,000,000 content tokens, and all validation groups

FieldPurpose
ProfileUses THPDFPDFX6Profile to select automatic, complete, external, or N-colourant validation
RuleSetSelects ISO 15930-9:2020 as published or with resolved errata through 2025-11-11
MaxObjectsBounds indirect and reachable-object traversal
MaxIssuesBounds retained diagnostics and emits a stable limit issue when exhausted
MaxDecodedBytesBounds cumulative decoded ICC profile and content-stream bytes plus bounded JPX header input
MaxContentTokensBounds cumulative parsed operators, operands and nested array work items before unbounded arrays can form
CheckOutputIntentsChecks effective Catalog or page output intents and embedded or external profiles
CheckPageBoxesChecks inherited MediaBox and CropBox plus direct BleedBox, TrimBox, and ArtBox geometry
CheckExchangeConstraintsChecks actions, forms, graphics state, XObjects, optional presentation data, and related exchange restrictions
CheckEmbeddedFontsChecks embedded font programs and Type 0 descendants
CheckAnnotationsChecks annotation subtype, flags, and fixed normal appearances
CheckPaintedColourSpacesInterprets actual path, text, image, shading, pattern, glyph, soft-mask, and appearance paints and validates their effective colour spaces
CheckOverprintChecks stroking and nonstroking overprint state, mode 1 applicability, and combined-paint interactions
CheckTransparencyChecks alpha, blend modes, transparency groups, soft masks, and combined fill-and-stroke compositing

関連 API