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;ActiveX
Function PDFlib::GetPDFEDiagnostics() As StringDLL
const wchar_t* DLGetPDFEDiagnostics(int InstanceID);
const char* DLGetPDFEDiagnosticsA(int InstanceID);Return values
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 609
Use CheckFileCompliance with ComplianceTest = 7 for a complete issue list from an external file or through a shared validation pipeline
See also
SetPDFEMode, GetPDFEMode, CheckFileCompliance, RunValidationPipelineTask