FieldNames and FormSubmitButtonNames throw nullreferenceexception on the instantiation of pdfForm.
Is there a problem with the PDF file that is causing this? Or, an issue with Aspose.PDF?
var dataDir = @"C:\TestDir\Source\WordPdf\Templates\Pdf\DO43_Template.pdf";
var pdfForm = new Aspose.Pdf.Facades.Form();
var allfields = pdfForm.FieldNames;
My apology, I have tried several different things and forgot to put that back before posting.
It throws an exception System.Exception._COMPlusExceptionCode -532462766.
The SetLicense is for Aspose.Total.lic with isLicensed = true.
The Aspose code is in it’s own class which is not async and is called from an async Task.
var result1 = await Task.Run(() => createUpd.CreateFormAsync());