Q:
I am trying to get the links from the attached PDF file, but I am not
able to do it.
Below is the sample code that I am using
PDFDoc doc = new PDFDoc(input_path + "PM0609_004.pdf");
doc.InitSecurityHandler();
PageIterator end = doc.PageEnd();
for (PageIterator itr = doc.PageBegin(); itr!=end; itr.Next())
{
Page page = itr.Current();
int num_annots = page.GetNumAnnots(); // returns 0
for (int i=0; i<num_annots; ++i)
{}
}