THotPDF.ValidateWTPDF Method
Validates WTPDF input and collects diagnostics for the document creation workflow. The result helps batch tools decide whether to continue, report a conformance gap or adjust profile settings
Declaration
function ValidateWTPDF(const SourceFile: TFileName; out Report: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SourceFile | File path used as the source or destination for this operation |
Report | Input supplied to ValidateWTPDF |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised