Hi George,
save and restoreState are related to Pdf graphic state (see Pdf reference
from Adobe for details).
When you call a saveState, the current pdf graphic state is saved on a
stack. Than you can change it and, at the end, you can return to the
previous calling restoreState.
Briefly the pdf graphic state contains many infos: fill color, back color,
linewith, transformation matrix (? I'm not sure...), etc.
Other guys (more expert) on this mailing list can explain more deeply.
Start reading this:
http://itextdocs.lowagie.com/tutorial/directcontent/graphics/index.php
Fabrizio
2008/3/13 George Bilalis <[EMAIL PROTECTED]>:
> Hi all,
>
> I need clarification on the following:
> In com.lowagie.text.pdf library -> in Class PdfContentByte ->
> on the method saveState() [as well as on restoreState()]
> it explains as ... literally : saves the graphic state.
>
> Q: What are the exact parameters saved (- or restored by restoreState())
> by this method?
>
> thanks all
> George
>
> ------------------------------
> Αποκτήστε την επόμενη γενιά των Υπηρεσιών Windows Live τώρα! Κάντε κλικ
> εδώ! <http://get.live.com>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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/
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/