I'm trying to query links in my document and have tried several methods to no avail. It is just not picking up the 4 links towards the bottom of my 4 page document. Here is the code I'm using
'Check Links
'-----------------------------------------------------------
myeditor.BindPdf(myFile.LocalCopyPath)
myannoteditor.BindPdf(myFile.LocalCopyPath)
Dim annotType As System.Enum() = {AnnotationType.Link}
Dim al As ArrayList = myannoteditor.ExtractAnnotations(1, pdfInfo.NumberofPages, annotType)
_TotalLinks = al.Count
For I As Integer = 0 To _TotalLinks - 1
Dim myAnnot As Aspose.Pdf.Kit.Annotation = al(I)
myAnnotations.Add(myAnnot)
'linkAnnot = arrayLinks(I)
'arrayActions = linkAnnot.GetActions(PDFActionType.RGoto)
Next
Dim allinks As ArrayList = myeditor.ExtractLink
For J As Integer = 0 To allinks.Count - 1
Dim newLink As New LinkInfo
newLink = allinks(J)
myLinks.Add(newLink)
Next