Hi,
Hi,
issue as PDFNEWNET-35909 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.
//open document<o:p></o:p>
Document pdfDocument = new Document("c:/pdftest/FormWithData.pdf");
//get values from all fields
foreach (Field formField in pdfDocument.Form)
{
Console.WriteLine("Field Name : {0} ", formField.FullName);
Console.WriteLine("Value : {0} ", formField.Value);
}
Thank you for your response and further looking in to the problem… Yeah, I had tried to retrieve the values the way you suggested as well, but had no luck as well. Sorry, I should have mentioned that in my original message. I look forward to your update.
Hi,
Good morning! Just thought I would check to see if there are any updates. I realize there were other problems ahead of this one, but since it has been a week since I originally posted the question, I thought I would check to see if there are any new updates or if you happen to have an estimated time of when someone would be able to assist with this.
Hi there,
Hi,
Hi there,
heatherjoanne44:
We are also experiencing problems reading the values from a pdf form that was created via Adobe Pro.
Hi, I was able to read the values from the pdf form that was created via Adobe Pro. I neglected to include the Skywalker.AsposeTotalLicense asposeTotalLicense = new Skywalker.AsposeTotalLicense() when attempting to retrieve the values, and therefore, it was only retrieving the first 4 checkbox fields. I am now able to retrieve the values from all fields with the exception of the signature field. When researching this, I found a way to retrieve the signature name by using the following code
string signature = pdfSignature.GetSignerName(“CustomerSignature”);
Hi there,
Hi there,
The issues you have found earlier (filed as PDFNEWNET-35909) have been fixed in Aspose.Pdf for .NET 8.7.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi, I have downloaded the latest release, and I’m still unable to retrieve the image from the signature field in the pdf using the following code:
Also, I’m still unable to retrieve the form fields when creating the pdf from scratch via Aspose.Pdf.Generator.Pdf and using the following code to try to retrieve the fields:
heatherjoanne44:
Also, I’m still unable to retrieve the form fields when creating the pdf from scratch via Aspose.Pdf.Generator.Pdf and using the following code to try to retrieve the fields:System.Collections.Generic.List fields = new System.Collections.Generic.List();foreach (Aspose.Pdf.InteractiveFeatures.Forms.Field formField in pdfDocument.Form){fields.Add(formField.Name + " " + formField.Value);}The fields list property on pdf.Form is still empty.Hi,In order to add form fields to PDF document, we recommend you to please try using the latest Document Object Model of Aspose.Pdf namespace. Please try using the following code snippet.[C#]Document doc = new
Document();<o:p></o:p>Page page = doc.Pages.Add();
Aspose.Pdf.Table table1 = new Aspose.Pdf.Table();
table1.ColumnWidths = "120 120 120";
page.Paragraphs.Add(table1);
Aspose.Pdf.Row row1 = table1.Rows.Add();
Aspose.Pdf.Cell cell1 = row1.Cells.Add("Name");
Aspose.Pdf.Cell cell2 = row1.Cells.Add("City");
Aspose.Pdf.Cell cell3 = row1.Cells.Add("State");
TextBoxField field = new TextBoxField();
field.PartialName = "f1";
field.Value = "1";
field.Width = 80;
field.Height = 15;
TextBoxField field2 = new TextBoxField();
field2.PartialName = "f2";
field2.Value = "2";
field2.Width = 80;
field2.Height = 15;
TextBoxField field3 = new TextBoxField();
field3.PartialName = "f3";
field3.Value = "3";
field3.Width = 80;
field3.Height = 15;
page.Paragraphs.Add(field);
page.Paragraphs.Add(field2);
page.Paragraphs.Add(field3);
doc.Save(“c:/pdftest/FieldTest.pdf”);
In order to retrieve form field values, please try using the following code snippet.[C#]//open document<o:p></o:p>
Document pdfDocument = new Document("c:/pdftest/FieldTest.pdf");
//get values from all fields
foreach (Field formField in pdfDocument.Form)
{
Console.WriteLine("Field Name : {0} ", formField.FullName);
Console.WriteLine("Value : {0} ", formField.Value);
}
heatherjoanne44:
Hi, I have downloaded the latest release, and I’m still unable to retrieve the image from the signature field in the pdf using the following code:System.IO.Stream signature= pdfSignature.SignatureAppearanceStream. The SignatureAppearanceStream property is still null. Is there a new way to retrieve the image from the signature field?Hi,I am afraid the feature to extract image from Signature field is currently not supported. However for the sake of correction, we already have logged this requirement as PDFNEWNET-36044 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.
The issues you have found earlier (filed as PDFNEWNET-36044) have been fixed in Aspose.Pdf for .NET 9.0.0.
Hi,
Thanks for your patience.
In order to accomplish the requirement PDFNEWNET-36044, please follow the instructions specified over