THotPDF.EnsureLoadedAcroForm Method
Ensures that loaded acro form support objects exist before AcroForm output is written. Use it when strict validators expect catalog, extension, color, signature, or conformance dictionaries to be present
Declaration
function EnsureLoadedAcroForm: THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the AcroForm 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
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values