THotPDF.HasLoadedAcroForm Method
Checks whether the loaded PDF document contains an AcroForm interactive form structure
Declaration
function HasLoadedAcroForm: boolean;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns a boolean value
Usage notes
- Call this method before any form-field related API to check whether the document has a form, avoiding pointless work
- Returns True when the loaded document contains an AcroForm dictionary
- For XFA dynamic forms this method may also return True, since XFA forms usually embed an AcroForm wrapper