Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

PDF Form textbox value repeated

$
0
0

Hi,

I have a problem with with PDF Form File.

My file template is 1215v01Orig.pdf and the file result is 1215v01Orig.result.pdf

In the file result the values are repeated for the three columns, I' dont know where is the problem, but the true value is in the TextBox, however the display value is different.

I have to click on the textbox for to see the true value

My Code in VB.Net in VS2010, Aspose version 8.2

dim _strCheminFichPDFForm as string="1215v01Orig.pdf"

Dim objForm = New Aspose.Pdf.Facades.Form(_strCheminFichPDFForm)
        For i As Integer = 0 To 14
            Dim strFieldName = String.Format("CodActivGauch.{0}", i)
            Dim strFieldValue = String.Format("00000{0}", i)
            objForm.FillField(strFieldName, strFieldValue)

            strFieldName = String.Format("CodActivDroit.{0}", i)
            strFieldValue = String.Format("20000{0}", i)
            objForm.FillField(strFieldName, strFieldValue)

            strFieldName = String.Format("CodActivCtre.{0}", i)
            strFieldValue = String.Format("10000{0}", i)
            objForm.FillField(strFieldName, strFieldValue)
        Next

        objForm.Save(Path.ChangeExtension(_strCheminFichPDFForm, ".result.pdf"))

Thank you

Juan Echevarria

Régie de l'assurance Maladie

RAMQ


Viewing all articles
Browse latest Browse all 3131

Trending Articles