THotPDF.LoadAndValidatePreflightReport Method
Loads and validate preflight report input into the preflight validation workflow. Use loaded objects for page copying, form inspection, validation, repair, metadata reuse, or incremental processing
Declaration
function LoadAndValidatePreflightReport(const EmbeddedFile: TFileName; out OriginalReport: AnsiString; out CurrentReport: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
EmbeddedFile | File path used as the source or destination for this operation |
OriginalReport | Input used by LoadAndValidatePreflightReport |
CurrentReport | Input used by LoadAndValidatePreflightReport |
Return value
Returns a boolean value
Usage notes
- Use this API in the preflight validation workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Use profile helpers when report output must be repeatable across batch validation runs
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values