THotPDF.ExtractLoadedImage Method
Provides extract loaded image behaviour for the image embedding workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function ExtractLoadedImage(ImageIndex: Integer): TBitmap;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ImageIndex | Zero-based index or object index used to select an existing item |
Return value
Returns a TBitmap value
Usage notes
- Use this API in the image embedding 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