2/11/2024 0 Comments Pdfkit merge pdf![]() When I was referring to field name i meant the “short” field name like you would see in Adobe - i.e. When you say FieldName you are referring to the full field name in Form.FieldsNames - i.e. I will clarify both remaining issues below:įrom your response I now understand that we are using the term “Field Name” differently. With that said, I now have a second issue with another PDF. I have no problems opening the PDF using the PDF file that is attached in my first post. I am loading the PDF Form object from the actual PDF file, not from Form.ImportXML() as you suggested. I copied that XML out of the XML view in Adobe LiveCycle Designer. First of all the XML i sent you is not the XML i am using to load the PDF Form object. After reading your response I must clarify a few things. Thank you for your detailed response and help with this problem. If it does not satisfy your query, please feel free to contact. Please visit the following link for information on Identifying form fields names The exact full name of the field can be something like topmostSubform.LastName or topmostSubform.LastName. Instantiating object giving input and output PDF files as inputĪ. ![]() But, if you try using the following code snippet, you would notice that, both the field occurrences get filled. When you simply call the method Form.Fillfield("LastName","Mike"), it searches for the field named as "LastName" and fills in the information for the first instance which is LastName. During my investigation, I've found that, the two occurrences of LastName field, are present as LastName and LastName. ![]() It would be more appropriate, if you could share the code snippet that you are using. Import the values from the XML file to the PDF form FileStream xmlInputStream = new FileStream( FileMode.Open) Form( an XML file as a FileStream that contains the contents of the PDF document| I've tried importing the data contents of "multi-test.xml" that you have shared, but no success. I've tested the scenario and have noticed that, "multi-test.pdf" does not get populated when using Form.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |