Before document.open() call document.addTitle(). Best Regards, Paulo Soares
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Chris Farmer > Sent: Thursday, April 29, 2004 8:18 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Setting a title on an open document > > > Hi, > > I'm trying to set a title on my pdf document. I see that I > can do this with > the PdfStamper class's setMoreInfo method. The constructors > to PdfStamper take > a PdfReader as an argument. I can't get a PdfReader on an > open document, can > I? Do I have to close the document, open a PdfReader on it, > then set the title > and close it again? I know what the title should be from the > point at which I > open the document, so is there a way I can add this info > during creation of the > document? I feel like I must be missing something here. > > > thanks, > Chris > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... > Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id�66&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
