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

Declaração

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

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

Unidade

HPDFDoc

Parâmetros

NomeFinalidade
OptionsSelects the profile, traversal budgets, and independently switchable validation groups
IssuesReceives stable structured diagnostics in traversal order

Valor devolvido

Devolve True apenas quando não x6isError permanece nenhum diagnóstico

Notas de utilização

THPDFPDFX6ValidationOptions.Default seleciona px6Automatic, a 1,000,000-object budget, a 256-issue budget, and all validation groups

CampoFinalidade
ProfileUses THPDFPDFX6Profile to select automatic, complete, external, or N-colourant validation
MaxObjectsBounds indirect and reachable-object traversal
MaxIssuesBounds retained diagnostics and emits a stable limit issue when exhausted
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

APIs relacionadas