Title: Drawing text on page 2, 3, 4, ...
 
I found the answer:
 
   the Document class has a method called newPage()
 
-Sean
 
-----Original Message-----
From: Sullivan, Sean C - MLG [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:24 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [iText-questions] Drawing text on page 2, 3, 4, ...

 
I found these methods:
 
    PdfDocument.setPageCount(int) and PdfWriter.setPageCount(int)
 
These methods appear to correspond to PdfDocument.getPageNumber()
 
Is there any example code that demonstrates how to use the methods?
 
-Sean
 
-----Original Message-----
From: Sullivan, Sean C - MLG [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:01 PM
To: '[EMAIL PROTECTED]'
Subject: [iText-questions] Drawing text on page 2, 3, 4, ...


I've had great success creating PDF files with iText 0.83

Here's my question:

I want to create a PDF file that contains multiple pages.

I need to draw 17 lines of text on page 1, 17 lines of text on page 2, and 6 lines of text on page 3.

I know how to draw the text on page 1.

How do I "move" to page 2, 3, etc?

I know that the PdfDocument has a method called "getPageNumber".

Is there an equivalent "setPageNumber" function?

I'm not very knowledgeable about the PDF file format.

-Sean

Reply via email to