THotPDF.GetLoadedLinkURIs Method
Gets a list of URIs for all link annotations on a specified page of the loaded PDF document
Declaration
function GetLoadedLinkURIs(PageIndex: Integer): THPDFAnsiStringArray;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based page index, specifying the target page to query for link URIs |
Return value
Returns the array of URI strings for the page's links
Usage notes
- Each URI is reported once per link annotation, in the order the annotations appear on the page
- The returned URI only contains links of the URI action type; links pointing to in-page jump targets via the GoTo action are not included in the results
- To collect the links of every page, use GetLoadedAllLinkURIs