GetPDFEDiagnosticsA
Compliance, engineering documents, diagnostics
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetPDFEDiagnostics and string arguments are interpreted using the current SetAnsiMode code page
Runs the in-memory PDF/E-1 save gate and returns its first diagnostic message
Syntax
Delphi
Function DLGetPDFEDiagnosticsA(InstanceID: Integer): PAnsiChar;
DLL
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