THotPDF.GetLoadedImageCountPerPage Method
Gets the number of image objects contained in a specific page
Declaration
function GetLoadedImageCountPerPage(PageIndex: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
Return value
Returns an Integer value
Usage notes
- Helps when extracting a page's images
- 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