THotPDF.GetLoadedNamedDestinationCount Method
Returns the total number of Named Destinations in the loaded PDF document
Declaration
function GetLoadedNamedDestinationCount: Integer;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an Integer value
Usage notes
- Use this value as the upper bound when calling GetLoadedNamedDestinationName
- Named destinations are usually referenced by bookmarks, links, or cross-document jumps; a number greater than zero indicates that the internal navigation structure of the document is relatively rich
- Only call after a document has been loaded successfully; returns 0 when no document is loaded