Method GetLinks

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

Lists the link annotations on a page: web links and links to other pages of the document.

public IReadOnlyList<PdfLinkInfo> GetLinks(int pageIndex)

Parameters

pageIndex int

Zero-based page index.

Returns

IReadOnlyList<PdfLinkInfo>

The links, in the page's annotation order.

Exceptions

ArgumentOutOfRangeException

pageIndex is outside the document's pages.