Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] How to Shrink Content and Add Margins

Ethan King

2007-07-11

Replies:

This question has kind of been addressed in the past but not as directly as some would hope.  I am looking to use iTextSharp to do something similar to the Bates numbering function in Adobe Acrobat 8. 
 
Basically I would like the shrink the contents of a PDF page to allow a margin above and below the original content that I can then put additional information in. 
 
So for example I might want to put the word "CONFIDENTIAL" at the bottom of each page in a PDF but I don't want it to appear over the top any original content.  So I would like to "shrink" the content so that I can fit the word "CONFIDENTIAL" below it.
 
Any help that someone might be able to give me would be greatly appreciated.
 
-Ethan
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.