GetPDFVCRDiagnostics

Compliance, variable content, diagnostics

Description

Runs the in-memory PDF/VCR save gate and returns its first diagnostic message

Syntax

Delphi

Function GetPDFVCRDiagnostics: WideString;

Return value

An empty string when the current document is ready to save as PDF/VCR or PDF/VCR mode is inactive, otherwise the first conformance failure

Remarks

The same validation runs automatically before SaveToFile, SaveToString and SaveToStream; a rejected save sets LastErrorCode 608

Use CheckFileCompliance with ComplianceTest = 6 for a complete issue list from an external file or through a shared validation pipeline

See also

SetPDFVCRMode, GetPDFVCRManifest, RunValidationPipelineTask