Adding Text to a PDF form

Hi…a .text value I am adding into an existing PDF form field does not align correctly.


The field is 9 digits in length and holds a currency values. It looks like:

___,___,___.00 on the form

When the currency value is added into the field:

Example on how I add value into PDF textbox:

Dim textBoxField As TextBoxField = TryCast(pdfDocument.Form(“field name”), TextBoxField)
textBoxField.Value = “155” 'this $155 dollars

in the resulting PDF text box the value looks like:

___,___,1.00 it should look like ___,_,155.00

When I click on the field the full 155 appears.

There appears to be a underlying Javascript running also.

Question - how best to fill this field correctly and how to remove or prevent the javascript from running.

Thanks you




Hi Keith,


Thanks for using our products.

I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-34592. We
will investigate this issue in details and will keep you updated on the status
of a correction.

We
apologize for your inconvenience.

The issues you have found earlier (filed as PDFNEWNET-34592) have been fixed in Aspose.Pdf for .NET 7.7.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.