Hi, Why not? How else could I get the content of the cropbox???
Is there no way I can do something like: for (int i = 1; i <= reader.NumberOfPages; i++) { iTextSharp.text.pdf.PdfImportedPage oriPage = writer.GetImportedPage(reader, i, PdfName.CROPBOX); Can anyone provide any more info rather than saying "can't be done"? Many thanks -----Original Message----- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: 10 January 2010 9:06 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Get the content from only within the cropbox? Ric Clarke wrote: > Just so I know, should changing > > "bBox = readerInstance.Reader.GetPageSize(pageNumber)" > To > "bBox = readerInstance.Reader.GetCropBox(pageNumber);" > > work and just get the size of the cropbox, therefore I should just be able > to get its content only? You should never do that. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: 270.14.131/2609 - Release Date: 01/09/10 19:35:00 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/