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

Free Support Forum - aspose.com

Slow Assign to property Value

Dear all!!

When we are using aspose.pdf.dll 9.1 or later, at the time to assign any value to property "Value" of a control it is taking too long. when we use previous versions (9.0, 8.9 ..) the assign is faster.

we did the test in two different machines and the results are the same.

i.e.:

string path = upload.PostedFile.FileName;

Document doc = new Document(path);

PdfFileSignature pdf = new PdfFileSignature();

Aspose.Pdf.License licence = new Aspose.Pdf.License();

licence.SetLicense("Aspose.Pdf.lic");

Aspose.Pdf.InteractiveFeatures.Forms.Field[] _formFields = null;

_formFields = doc.Form.Fields;

TextBoxField txtName = doc.Form["txtNamePru1"] as TextBoxField;

SignatureField signature = doc.Form["SignaturePru"] as SignatureField;

TextBoxField txtRequest = doc.Form["TxtRequestId1"] as TextBoxField;

TextBoxField txtState = doc.Form["TxtState1"] as TextBoxField;

txtName.Value = "Name 1"; // slow assign, about 10 seconds

txtRequest.Value = "REQUEST VALUE ONE "; // slow assign, about 10 seconds

txtState.Value = "STATE VALUE "; // slow assign, about 10 seconds


u5:p</u5:p>

Hi Larry,


Thanks for contacting support.

Can you please share the resource PDF file so that we can test the scenario in our environment. We are sorry for this inconvenience.

Hi Nayyer Shahbaz!!


we get the problem when we are using the attached PDFs files.

Hi Larry,


Thanks for sharing your source documents. We have noticed the performance issue while filling form fields and logged an investigation issue PDFNEWNET-37871 in our issue tracking system for further investigation and resolution. We will notify you as soon as we resolve it.

We are sorry for the inconvenience caused.

Best Regards,