Hello
We get a null reference exception on the AfterOpenAction property when executing the following code.
PdfDocument document = LoadFromFile();
.....
PdfPageBase page = document.Pages[PGoToPage];
PdfDestination destination = new PdfDestination(page);
destination.Zoom = PZoomFactor;
PdfGoToAction action = new PdfGoToAction(destination);
document.AfterOpenAction = action;
at Spire.Pdf.Actions.PdfDocumentActions..ctor(spr A_0)
at Spire.Pdf.PdfDocumentBase.get_JavaScripts()
at Spire.Pdf.PdfDocument.set_AfterOpenAction(PdfAction value)
at Ch.Infogate.Common.PDFWrapper.FillForm() in D:\InfogateApplications\branches\Tutoris_20211015_Version150\Infogate\InfogateCommon\Common\PDFWrapper\PDFWrapper.cs:line 240