TWo things.
1) There is no such thing as a margin in a PDF - it's just white
space where nothing is drawn.
2) Even if you could change the margins, PDF doesn't reflow - so I am
not sure how it would help you.
Perhaps if you explained your situation more...
Leonard
On Mar 3, 2008, at 7:14 AM, Raj S wrote:
Hi Friends,
I am new to iTEXT.
In my application, the requirement is: I need to take an
existing document, add some more content and change the margins, if
necessary.
(This is becoz, the PDF should be printed on a page. And, if the
document is not printed correctly, the user will be given a
facility to change the margins a bit, so that it can be printed
correctly)
There is facilty in iTEXT to set the margins using
document.setMargins() method.
But, how can we change the margins for an existing PDF
document? Or is there a way to create a new document, set margins
for it and add the content from existing document?
Please help me with some idea or code.
Thanks for any response.
Raj.
Never miss a thing. Make Yahoo your homepage.
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/