GetPDFEDiagnostics

Compliance, engineering documents, diagnostics

Description

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

Syntax

Delphi

Function GetPDFEDiagnostics: WideString;

Return value

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

Remarks

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

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

See also

SetPDFEMode, CheckFileCompliance, RunValidationPipelineTask