It's the keys not the values.
git-svn-id: svn://svn.code.sf.net/p/itextsharp/code/trunk@27 820d3149-562b-4f88-9aa4-a8e61a3485cfmaster
parent
ef86a67249
commit
404aa891e5
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue