THPDFPDFA4ValidationOptions Record

THPDFPDFA4ValidationOptions = record
  Profile: THPDFPDFA4Profile;
  MaxObjects: Integer;
  MaxIssues: Integer;
  MaxDecodedBytes: Int64;
  MaxContentTokens: Integer;
  CheckEmbeddedFonts: boolean;
  CheckAnnotationAppearances: boolean;
  CheckOptionalContent: boolean;
  CheckColourSpaces: boolean;
  CheckTransparency: boolean;
  CheckCompositeFonts: boolean;
  CheckMetadataPackets: boolean;
  class function Default: THPDFPDFA4ValidationOptions; static;
end;

Default selects metadata-driven profile inference, enables every deep validation family, allows 1,000,000 object visits and 1,024 retained findings, and applies cumulative limits of 64 MiB decoded data and 4,000,000 content tokens

MaxDecodedBytes covers decoded ICC profiles, XMP metadata, and content streams, while MaxContentTokens covers parsed page, Form, image-mask, shading, and annotation-appearance programs

Setting a numeric limit to zero or below restores its default, and excessive configured values are clamped to implementation hard ceilings

Disabling one check family does not weaken independent structural, profile, security, attachment, action, or traversal checks

THotPDF.ValidatePDFA4