How to fill tables in PDF forms with iTextSharp? -


all

i must fill this pdf form using itextsharp.

i have no problems header fields, don't know how fill table in bottom. can fill first row pdfstamper.acrofields.setfield(), how can add more rows, if @ possible?

your form form based on acroform technology. means form static. every field in form corresponds widget annotation absolute position defined on page. can not add data on coordinates not predefined, hence can not "add more rows". asking impossible.

take under hood of pdf:

enter image description here

there's array of /fields , each field defined dictionary combines field entries , entries of single widget annotation. each widget annotation has fixed coordinates on page.

it seems looking dynamic form solution. in case, need form based on xml forms architecture (xfa). form not xfa form.

if in doubt difference between acroform , xfa technology, please download free ebook: the best itext questions on stackoverflow. in book you'll find answer several questions such as:

these , other answers give idea of alternative options.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -