THPDFPDFX6ValidationOptions Record
THPDFPDFX6ValidationOptions = record
Profile: THPDFPDFX6Profile;
RuleSet: THPDFPDFX6RuleSet;
MaxObjects: Integer;
MaxIssues: Integer;
MaxDecodedBytes: Int64;
MaxContentTokens: Integer;
CheckOutputIntents: boolean;
CheckPageBoxes: boolean;
CheckExchangeConstraints: boolean;
CheckEmbeddedFonts: boolean;
CheckAnnotations: boolean;
CheckPaintedColourSpaces: boolean;
CheckOverprint: boolean;
CheckTransparency: boolean;
class function Default: THPDFPDFX6ValidationOptions; static;
end;
RuleSet accepts x6rsISO15930_9_2020 for the published standard or x6rsResolvedErrata2025 for the same edition with resolved errata through 2025-11-11
Default selects metadata-driven profile inference and x6rsResolvedErrata2025, enables every validation family, allows 1,000,000 object visits and 1,024 retained issues, and applies cumulative limits of 64 MiB decoded data and 4,000,000 content tokens
MaxDecodedBytes covers decoded ICC profiles, content streams and bounded JPX header input, while MaxContentTokens covers operators, operands and nested array work items in pages, Forms, patterns, Type 3 glyphs, soft masks and annotation appearances
Setting a numeric limit to zero or below restores its default, and excessive configured values are clamped to implementation hard ceilings
CheckPaintedColourSpaces, CheckOverprint and CheckTransparency can be disabled independently without weakening structural colour-space or traversal-budget enforcement in other enabled families
HPDFPDFX6RuleSetRevision returns the stable revision label stored in every THPDFPDFX6ValidationIssue.RuleRevision