Link annotation not properly identified

When reviewing the attached PDF, there is a picture that can be clicked on that goes to the Adobe site. However when checking for Annotations use Aspose.PDF, the Annotation type is not returned. I see a blank description for the type. Below is the sample code:


private static void AnnotationLoop(String inputFile)
{
using (var doc = new Document(inputFile))
{
if (doc.Pages != null)
{
foreach (Page page in doc.Pages)
{
if (page != null && page.Annotations != null)
{
foreach (Annotation annotation in page.Annotations)
{
}
}
}
}
}
}

Hi,


Thanks for contacting support.

I
have tested the scenario and I am able to reproduce the same problem that ??? are being returned as Annotation type for earlier shared PDF document. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-37580. We will
investigate this issue in details and will keep you updated on the status of a
correction. <o:p></o:p>

We apologize for your inconvenience.

@FreedomSolutions

Thank you for being patient.

I would like to share with you that we have investigated the issue PDFNET-37580 in our environment and have found that “???” is returned as Annotation type because the annotation has subtype “WJAnnot” which is not standard PDF annotation. So, this is not an issue with Aspose.Pdf API but a non-standard annotation problem.

The issues you have found earlier (filed as PDFNET-37579) have been fixed in Aspose.PDF for .NET 22.5.