This sample shows how to retrieve a link information and extract text starting from the where the link points to.
Docotic.Pdf library represents PDF page links as PdfActionArea objects. By examining a PdfActionArea object, you can get a page which hosts the action area and the area bounds.
There is also the PdfActionArea.Action property. For links, this property contains an instance of the PdfGoToAction class. Any PdfGoToAction object contains information about the page associated with the link.
To extract text from the link’s target page, get the top offset of the target position. Then retrieve all text of the target page placed below the top offset.