THotPDF.SaveLoadedEmbeddedFileToDisk Method
Saves loaded embedded file to disk output from the document import and output workflow to a file or stream. Prepare document metadata, pages, resources, signatures, and conformance options before invoking the save operation
Declaration
function SaveLoadedEmbeddedFileToDisk(const AFileName: AnsiString; const AOutputPath: TFileName): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AFileName | File path used as the source or destination for this operation |
AOutputPath | Input used by SaveLoadedEmbeddedFileToDisk |
Return value
Returns a boolean value
Usage notes
- Use this API in the document import and output 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