views:

843

answers:

2

I need to add a table using iTextSharp (or even PDFSharp if it can do it) into an existing PDF template at a particular location in the template. I can edit the existing template with Adobe Designer 7.0. How can I go about doing this? Is there a PlaceHolder analog from Asp.Net which can be used here?

Keith

A: 

After some some experimenting, yes, you can do so but with a caveat. First, put a text field down somewhere. In the code, grab the coordinates of where it is. Then build some sort of object to insert there, a table in my case. One caveat is there is no flow, the document will not adjust itself. If your object is too big, it will overwrite (overflow?) what was previously already there. I was hoping for a nice re-flow of what was there, but no dice. I finding that PDFs are a pretty static beast. But I think I'll get it to work for my needs.

KeithA
A: 

how have you managed it? can you post a snippet?

I have not yet got back to this project. Maybe within the month.
KeithA
This is not the answer, this should be the comment
DixonD