THotPDF.HasLoadedPDFDeclaration Method
Provides a check for the named PDF declaration in a loaded document, in the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics
Declaration
function HasLoadedPDFDeclaration(const AConformsToURI: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AConformsToURI | External target address stored in the PDF action or link annotation |
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
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values