Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading fields from PDF
Message
De
11/11/2011 17:45:43
 
 
À
11/11/2011 17:20:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01528652
Message ID:
01528704
Vues:
38
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform