I have 2 documents and using the following syntax to open both the document
Dim l_Merge_Doc As MergeDocument = New MergeDocument("PDF FILE FATH")
I am reading all the textfields using forms GETTEXTFIELD method and assigning the value to a text field.
Also I am adding BARCODE on each page of both the files and adding those pages using the following syntax...
dim l_doc_PDFDocument As MergeDocument
Dim l_page_PDFPage As Page = l_doc_PDFMergeDoc.Pages("PageIndex")
l_doc_PDFDocument.Pages.ADD(l_page_PDFPage)
when I add all the pages of both the files in 1 file..I am getting the text field values with the white color. Because of that it looks like values are not getting added in the form.
Can you please suggest why this is happening?
Merging document
Re: Merging document
Support · May 15, 2007Hello,
Do you see the value of the form fields when you click inside the field? If yes, the likely reason you are seeing this behavior is because the appearance stream is not getting set correctly. The solution to this is by adding the below line of code before calling the DrawToWeb method or the Draw method:
l_doc_PDFDocument.Form.NeedsAppearances = True
Thanks,
ceTe Software Support Team
Re: Merging document
Forum member · May 15, 2007Yes, I am able to see the values of a field when i place cursor inside the field.
I tried the following but still not able to see the values...
l_doc_PDFDocument.Form.NeedsAppearances = True
Please suggest
Re: Merging document
Support · May 15, 2007Hello,
Can you please send us over the two PDF documents you are merging and the source code you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at what exactly is causing this behavior?
Thanks,
ceTe Software Support Team