Tony Hughes wrote:
> o   How in general do you DELETE a page in the document ?

As explained in chapter 2.
For the moment there's no way to delete a page
if you're creating a document with PdfWriter.

> o   Is there code that says "If this page is blank, delete it".
>      Supposedly by default, iText at newPage() says "The
>      current page is blank so I will NOT start a new one."

That's how it works.

>      I have read page 427 of the book which helps with
>      opposite problem of wanting to insert a blank page.

Correct.

> Something unseen is preceding the newPage()
> that causes the un-wanted blank page.

Sorry, I don't have the time to look at your code today,
but you are probably right when you say 'something unseen
is preceding the newPage()'. If nothing was added to the
page, newPage() will not add a new blank page. You must
be adding something (maybe outside the visible area).
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to