Sverre Moe wrote:
> int status = ct.go();
> 
> Just one thing. I see no reason for the status variable. There should be 
> a go() that did not return a integer. I can see the purpose for 
> it though, if you have multiple pages, but for my document I know for 
> certain that the document will not span more than one page.

OK, then just do: ct.go(); without the variable.
I do this quite often. The method has to return
something for the reason you indicate yourself,
but if you don't need the return value, you can
ignore it.
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