THotPDF.LoadPreflightProfile Method
Enterprise edition: This API belongs to HotPDF Enterprise (HotPDFEnt / Lib\Enterprise); lower editions omit it or raise EHPDFEnterpriseRequired.
Loads preflight profile input into the preflight validation workflow. Use loaded objects for page copying, form inspection, validation, repair, metadata reuse, or incremental processing
Declaration
function LoadPreflightProfile(const ProfileFile: TFileName): THPDFPreflightProfile;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ProfileFile | File path used as the source or destination for this operation |
Return value
Returns a THPDFPreflightProfile 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