THotPDF.GetLoadedCatalog Method
Method summary: THotPDF.GetLoadedCatalog Method
Declaration
function GetLoadedCatalog: THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| No parameters | |
Return value
Returns the loaded catalogue dictionary, or nil when it is unavailable
Usage notes
- Call this method after LoadFromFile or LoadFromStream
- The returned object can be nil when no loaded document catalogue is available
- The returned dictionary belongs to the loaded document object graph and must not be freed by caller code
- Use this method when low-level loaded PDF inspection needs direct catalogue access