Imports iTextSharp.text.pdf
The designer would indicate a "Type expected" on one of the top declaration:Public oField As Collection = New CollectionIt seems we cannot use collections when we have an import to iTextSharp.text.pdf. Can you try to add a declaration like that on top of your class to see if you will get the same?