THotPDF.RepairPDFFromPreflightReport Method

Provides repair pdf from preflight report behavior for the preflight validation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function RepairPDFFromPreflightReport(const SourceFile: TFileName; const TargetFile: TFileName; out RepairsApplied: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
SourceFileFile path used as the source or destination for this operation
TargetFileFile path used as the source or destination for this operation
RepairsAppliedInput used by RepairPDFFromPreflightReport

Return value

Returns a boolean value

Usage notes

Related APIs