bruno <bruno <at> lowagie.com> writes: > > Pescador Digital wrote: > > >Hi everyone, > > > >i am new in this mailing list and I want to know if it is possible to > >instantiate a PdfDocument class. I need to use it in the write() method ofthe > >MultiColumnText class: > > > >public float write(PdfContentByte canvas, > > PdfDocument document, > > float documentY) > > throws DocumentException > > > >I am using this method to write a PdfPTable that spans across two columns in > > aMultiColumnText to set the precise position of the y coordinate that > > defines the > >top limit of the column. I am using eclipse and it complains that the class > > is not visible. What should I do ? > > > I don't understand the question. > You never ever need to instantiate PdfDocument. > You should always work with Document or PdfWriter. > br, > Bruno > Hello,
thanks for your reply. Excuse my poor english, but I was trying to say that I needed to use the PdfDocument class because of the method write() that belongs to the MultiColumnText. I need to use that method because I need to control the y position inside the page where the top limit of the MultiColumnText sits. Is there any other way to do it without instantiating the PdfDocument class ? I don't see how to do it using the Document class or PdfWriter. thanks again, pescadordigital ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
