THotPDF.GetLoadedJavaScriptName Method
Gets the name of the document-level JavaScript action
Declaration
function GetLoadedJavaScriptName(Index: Integer): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index or object index used to select an existing item |
Return value
Returns an AnsiString value
Usage notes
- Reads the identifier of a named script by index
- 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