Retreive formfield and values from non editable pdf

I am not able to extract form field and its value from pdf which is non editable.
This code snippet doesnt work
foreach (Field formField in pdfDocument.Form)
{
KeyValuePair.Add(formField.PartialName, formField.Value);

            }

How do i do this.

@snneha,

Kindly send us your source PDF document and the complete code. We will investigate and share our findings with you.

Hi Team ,

Please find the attached pdf .sample.pdf (227.3 KB)

Aspose is not identifying form fields in the attached pdf because it is non editable mode.
Also,
Is there a way to change non editable pdf to editable pdf in aspose?
Thanks in advance.

@sowmyagirish,

With Acrobat, we can see that the filling form field option is set to allow, but the Aspose.Pdf API is not recognizing form fields. It issue has been logged under the ticket ID PDFNET-44073 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.