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