Is there an easier way to place a template onto a pdf page?  Right now I am writing a generic pdf reporter that places the page number and the total pages on each page of the document.  The problem is that my reporter allows the margins to change.  Thus changing where the page numbers should go.
 
Right now my code does the following.
 
cb.addTemplate(template, 38 + len, 780);
 
where cb is of type PdfContentByte.
 
However this code only works when the margins are the defaults.  Is there a way to add a template that naturally falls in the flow of the text?  If not is the implementation of such a thing difficult?
 
thanks
w. scott hayes
[EMAIL PROTECTED]

Reply via email to