THotPDF.GetLoadedJavaScriptSource Method
Reads loaded java script source information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedJavaScriptSource(const AName: AnsiString): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AName | PDF resource name, packet name, profile name, or caller-defined identifier |
Return value
Returns an AnsiString value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog 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