c# - Search and Replace PDF using Itext -
i need generate pdf based on user inputs. output pdf have images, tables , texts. think itext not user friendly programmatically generate report.
since report need generate quite complicated, wondering if possible create template pdf , load -> search -> replace strings/images want.
the template pdf can tagged pdf.
- is possible that?
- is best approach?
edit: i´m using wpf + mvvm + .net 3.5
replacing text within pdf file not simple. pdf fileformat uses dictionary @ file end elements listet byte offset within file, elements have field give own length given in bytes. if these offsets not met, reader report broken pdf.
you should have @ reporting made these tasks:
http://msdn.microsoft.com/en-us/library/bb885185%28v=vs.100%29.aspx
you can create template report designer, set data , export pdf.
Comments
Post a Comment