Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading fields from PDF
Message
From
11/11/2011 17:45:43
 
 
To
11/11/2011 17:20:22
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01528652
Message ID:
01528704
Views:
39
>Did you try the syntax in the code I posted?
>( where pdfform is fully qualified path and name to the pdfform )
>
> Dim PdfReader As PdfReader = New PdfReader(pdfform)
>
> Dim fieldlist As New ArrayList(PdfReader.AcroFields.Fields.Keys)

That declaration, as is, for the fieldlist, generates:

"Unable to cast object of type 'KeyCollection[System.String,iTextSharp.text.pdf.AcroFields+Item]' to type 'System.Collections.ICollection'"
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform