THotPDF.GetLoadedAllLinkURIs Method
Scans all pages of the loaded PDF document, extracts all external link (URI) annotations contained within, and returns them as an array of strings.
Declaration
function GetLoadedAllLinkURIs: THPDFAnsiStringArray;
Unit
HPDFDoc
Return value
返回一个 THPDFAnsiStringArray,包含了文档中所有外部链接(URI)的字符串列表。如果文档没有任何链接注释,则返回空数组。
Usage notes
- 该方法会遍历文档的所有页面,如果文档非常庞大,提取过程可能会消耗一定时间。
- The returned array of URI strings can help developers quickly collect information about external references such as URLs in the document.