It's the keys not the values.

git-svn-id: svn://svn.code.sf.net/p/itextsharp/code/trunk@27 820d3149-562b-4f88-9aa4-a8e61a3485cf
master
psoares33 2009-06-12 13:07:51 +00:00
parent ef86a67249
commit 404aa891e5
1 changed files with 1 additions and 1 deletions

View File

@ -1573,7 +1573,7 @@ namespace iTextSharp.text.pdf {
}
Hashtable map = new Hashtable();
String key;
foreach (PdfLayer layer in documentOCG.Values) {
foreach (PdfLayer layer in documentOCG.Keys) {
if (layer.Title == null) {
key = layer.GetAsString(PdfName.NAME).ToString();
}