Fill formfields of PDF form with Aspose.PDF for .NET

My employer is a license holder of the product ‘Aspose.Total for .NET’.

In one of our C#.NET applications we are processing PDF fillable forms created in Abobe Acrobat Pro 2017. The values of the formfields are set by code using Aspose.PDF for .NET:

image.png (39,9 KB)

item.Value for the dateField is a string formatted as “d MMMM yyyy”.

The PDF fillable form contains a datepicker field formatted as “d MMMM yyyy”. After processing the form and opening it the datefield value is shown as e.g. “1 augustus 2024” in Dutch language.

image.png (10,3 KB)

But since Aspose.PDF for .NET version 24.1 it shows “1 August 2024”, English in stead of Dutch language. Server settings and regional settings on our side are not modified.

image.png (8,6 KB)

When setting back Aspose.PDF for .NET version 23.10 everything works again as expected.
Looks like modifications in Aspose.PDF - starting from version 23.11 - are due to the problem we are experiencing.
Your support would be highly appreciated.

@Nico_Horsmans

If possible, could you please share your sample PDF and the sample code snippet for our reference? We will test the scenario in our environment and address it accordingly. Also, please confirm if you tested with 24.7 version as well.

@asad.ali
Sorry for my late response, last 2 weeks I was on holiday.

In the zip file you will find a simple console application solution developed in Visual Studio 2022 for testing purpose.
Package Aspose.Pdf version 23.10 is initially referenced in the solution. A simple PDF fillable form created in Adobe Acrobat Pro 2017 with one date field formatted as “d MMMM yyyy” is included in the solution.
Like already mentioned, version 23.10 works as expected, showing the date in Dutch language. Version 24.7 shows the date in English language.

TestFillablePDF.zip (34,8 KB)

@Nico_Horsmans

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57924

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.