public void addPage ( Rectangle rect , int rotation ) { PdfRectangle mediabox = new PdfRectangle ( rect , rotation ) ; PageResources resources = new PageResources ( ) ; PdfPage page = new PdfPage ( mediabox , new HashMap ( ) , resources . getResources ( ) , 0 ) ; page . put ( PdfName . TABS , getTabs ( ) ) ; root . addPage ( page ) ; ++ currentPageNumber ; }
Adds a blank page .