Use The Source, Luke:
http://itext.svn.sourceforge.net/viewvc/itext/trunk/itext/src/main/java/
com/itextpdf/text/
In particular:
http://itext.svn.sourceforge.net/viewvc/itext/trunk/itext/src/main/java/
com/itextpdf/text/pdf/PdfDictionary.java?revision=4806&view=markup
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
Autonomy Corp., an HP Company
________________________________
From: William Bell [mailto:[email protected]]
Sent: Monday, October 24, 2011 7:40 AM
To: 'Post all your questions about iText here'
Subject: [iText-questions] Seemingly conflicting results when
getting Pagesdictionary
Hi All,
The following code snippet appears to produce conflicting
results...
code
-----
PdfReader reader = new PdfReader (filename);
PdfDictionary dic = reader.Catalog.GetAsDict (PdfName.PAGES);
MessageBox.Show ("name = " + dic.ToString());
if (dic.IsPages())
MessageBox.Show ("is pages");
else
MessageBox.Show ("not pages");
output
-------
name = Dictionary of type: /Pages
not pages
Can anyone explain why if dic has been got as a Pages dictionary
- as indicated by 1st result - does the IsPages test return it is not a
pages dictionary?
Kind regards
William
William Bell
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php