hi,
Now I meet with a question about setting the pagesize of Document.Below is my code:
     Rectangle pageSize = new Rectangle(x,y);
     Document document=new Document(pageSize,10,10,10,10);
     try {
          PdfWriter.getInstance(document, new FileOutputStream("d:\\Chap0101.pdf"));
          document.open();
          document.add(new Paragraph("Hello World"));
      }
      catch(DocumentException de) {
          System.err.println(de.getMessage());
      }
      catch(IOException ioe) {
          System.err.println(ioe.getMessage());
      }
      document.close();
If x is 600,y is 14400,"Hellow world" can be displayed in Pdf page.But if x is 600,y is 14401,there is only a blank pdf page.
 
I didn't know if there is a iText defect.But i need to specify large pageSize.Who can help me?Thanks.
 
with best regards

eternal


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Reply via email to