We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

RemoveActions not removing Mouse Up event actions

Using the attached document, if I attempt to use the RemoveActions method, all actions are removed from all events except the Mouse Up action (this is Adobe Acrobat’s label). Looking at the wd.Actions list in Debug, it does not seem to see any actions that correlate to Mouse Up.



foreach (Page page in doc.Pages)
{
if (page != null)
{
if (page.Annotations != null)
{
for (var index = page.Annotations.Count; index > 0; index–)
{
var ann = page.Annotations[index];
var wd = ann as Aspose.Pdf.InteractiveFeatures.Annotations.WidgetAnnotation;
if (wd != null)
{
wd.Actions.RemoveActions();
}
}
}
}
}

Hi Stacey,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for NET 9.2.0, We have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-36867 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,