THotPDF.ApplyPreflightProfile Method
Applies preflight profile processing inside the preflight validation workflow. The method transforms text, form packets, validation profiles, or loaded PDF data while preserving public identifiers and caller-supplied resources
Declaration
function ApplyPreflightProfile(const Report: AnsiString; const Profile: THPDFPreflightProfile): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Report | Input used by ApplyPreflightProfile |
Profile | File path used as the source or destination for this operation |
Return value
Returns an AnsiString 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