THotPDF.GetLoadedEmbeddedFileName Method
Gets the name of the loaded embedded file by index
Declaration
function GetLoadedEmbeddedFileName(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
- Can be used to decompress or save the embedded file afterwards
- 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