GetPDFRDiagnostics

Compliance, raster exchange, diagnostics

Description

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

Syntax

Delphi

Function GetPDFRDiagnostics: WideString;

Return value

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

Remarks

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

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

See also

SetPDFRMode, AddPDFRRasterPageFromString, RunValidationPipelineTask