Hi,
in a document, i want to change the margins several times.
But Document.setMargins(left,right,top,bottom) does not work after the
document is opened!?
Example1 (does not work):
Document m_document = new Document (PageSize.A4);
m_writer = PdfWriter.getInstance(m_document, new
FileOutputStream(OutputFileName));
m_document.open();
m_document.setMargins(141, 311, 108, 180); // does not change
margins
....
Example2 (works):
Document m_document = new Document (PageSize.A4);
m_writer = PdfWriter.getInstance(m_document, new
FileOutputStream(OutputFileName));
m_document.setMargins(141, 311, 108, 180); // does change margins
m_document.open();
....
Can you please give me an example where i can change margins after having
opened the document?
Thank You.
Stefan
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions