Check to see if a point is inside a hyperlink.
onLink2([in] int page, [in] double x, [in] double y, [out, retval] VARIANT_BOOL *link)
This function returns true if the specified coordinates on the specified page are inside (over) a hyperlink.

The coordinates are in the PDF coordinate space. Mouse coordinates must be converted before being passed to this function (see convertWindowToPDFCoords2).

Private Sub viewer_MouseUp2(ByVal button As Integer, ByVal shift As Integer, _ ByVal page As Long, ByVal x As Double, ByVal y As Double) If viewer.onLink2(page, x, y) Then viewer.gotoLinkAt2 page, x, y End If End Sub