When creating a new launch action using the following lines of code:
Dim newGotoAction As New Aspose.Pdf.InteractiveFeatures.LaunchAction(“filename.pdf”)
MyLinkAnnotation.Action = newGotoAction
is causing an odd behavior. After saving my changes I am then opening the file in Adobe Acrobat X. hovering over the link in acrobat shows the correct destination as a tooltip. Also clicking on the link will take you to the destination. However when attempting to edit the link within Acrobat the Open File Action within Adobe comes up blank. Adobe reader also handles the link just fine.
If I simply edit the filename via this code:
CType(MyLinkAnnotation.Action, Aspose.Pdf.InteractiveFeatures.LaunchAction).File = “filename.pdf”
then the same issue does not get generated. I’m not sure if there is some sort of underlying property that is not getting set correctly on the LaunchAction instantiator.